Dependency probe
Report which of the harness’s optional and required dependencies are present on this machine, and what each unmet one blocks.
Skills it satisfies
A skill states the capability; this Tool is one way to exercise it. Each skill’s declared input and output contract follows, where it has one.
verify-local-substrate
Verify that every result block of a designated class traces back to a designated anchor definition through the uses[] dependency graph. Identifies gaps where claims lack a formal connection to the anchor, and suggests fixes.
Source: folio-assistant-sci/skills/content/folio-paper-adapter/verify-local-substrate.md.
The skill declares no I/O contract (schemas/skills/verify-local-substrate/{input,output}.schema.json).
Inputs and outputs
Each port names a shared type by IRI, so two Tools for one skill can be checked for interchangeability.
| port | type | required | description | constraint | |
|---|---|---|---|---|---|
| in | required_only | Flag | Report only the dependencies without which the harness cannot run. | boolean · A boolean switch — projects to a bare flag, with no value word | |
| out | report | Markdown | Per-dependency: present, absent, or could not be determined. | string · Markdown text. Not admissible as a command-line argument — see INJECTION_SAFE. |
Processes and tasks
No process step names a skill this Tool satisfies.
How it is deployed and reached
- Command line. From the repository root:
bun run cat check-deps.cat check-depsrunsbun run cat-harness-tools/src/index.ts --check-deps(declared incat-harness-tools/package.json). - MCP. Served as
check_dependenciesbysage(cat-harness-tools/scripts/sage-mcp.sh),google-drive(cat-harness-tools/scripts/google-drive-mcp.sh),folio-assistant(bun run cat-harness-tools/src/index.ts --stdio --repo .), the servers.mcp.jsondeclares. - In process.
adapters/paper/tools/check-deps.ts— loaded by the harness directly, with no server. - GitHub Actions. No workflow in this checkout runs its command.
The MCP tool it serves, as tools/list answers:
check_dependencies — read from its registrar.
| parameter | type | required | description |
|---|---|---|---|
required_only | boolean | Only check required dependencies |
As an API: its operation in the OpenAPI document and the MCP tool list of its layer.
| install | none |
| network | no |
What it is made of
| role | file | |
|---|---|---|
| definition | folio-assistant-sci/tools/check-dependencies/check-dependencies.ts | |
| in-process module | folio-assistant-sci/adapters/paper/tools/check-deps.ts | |
| script | cat-harness-tools/src/index.ts |
Linked data
The Tool is published as its own JSON-LD document at its IRI, https://litlfred.github.io/folio-assistant/folio-assistant-sci/tools/check-dependencies.jsonld, partOf its layer’s document. The node below is the definition this page was drawn from, and is embedded in the page as application/ld+json.
{
"@context": "https://litlfred.github.io/folio-assistant/folio-assistant-sci/folio-assistant-sci.context.jsonld",
"@id": "https://litlfred.github.io/folio-assistant/folio-assistant-sci/tools/check-dependencies.jsonld",
"@type": "https://litlfred.github.io/cat-harness/v0/ns/Tool",
"partOf": "https://litlfred.github.io/folio-assistant/folio-assistant-sci/folio-assistant-sci.jsonld",
"name": "check-dependencies",
"title": "Dependency probe",
"description": "Report which of the harness's optional and required dependencies are present on this machine, and what each unmet one blocks.",
"install": {
"none": true
},
"invoke": {
"shell": "bun run cat check-deps",
"mcp": {
"tool": "check_dependencies"
},
"inProcess": {
"module": "adapters/paper/tools/check-deps.ts"
}
},
"io": {
"inputs": [
{
"name": "required_only",
"schema": "https://litlfred.github.io/folio-assistant/cat-harness/tool-types.schema.json#/$defs/Flag",
"description": "Report only the dependencies without which the harness cannot run.",
"required": false,
"arg": {
"flag": "--required-only"
}
}
],
"outputs": [
{
"name": "report",
"schema": "https://litlfred.github.io/folio-assistant/cat-harness/tool-types.schema.json#/$defs/Markdown",
"description": "Per-dependency: present, absent, or could not be determined."
}
]
},
"satisfies": [
"verify-local-substrate"
],
"requirements": {
"network": false
}
}