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.

porttyperequireddescriptionconstraint
inrequired_onlyFlagReport only the dependencies without which the harness cannot run.boolean · A boolean switch — projects to a bare flag, with no value word
outreportMarkdownPer-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-deps runs bun run cat-harness-tools/src/index.ts --check-deps (declared in cat-harness-tools/package.json).
  • MCP. Served as check_dependencies by sage (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.json declares.
  • 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.

check_dependencies [1..1]check-dependencies«tool»check-dependenciescheck_dependencies : CheckDependenciesInput [1..1]CheckDependenciesInput«json-schema»CheckDependenciesInputrequired_only : boolean [0..1]
parametertyperequireddescription
required_onlybooleanOnly check required dependencies

As an API: its operation in the OpenAPI document and the MCP tool list of its layer.

installnone
networkno

What it is made of

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
  }
}

folio-assistant — code under the Apache License 2.0, documentation under CC BY 3.0. Generated schema and API references are rebuilt from source on every push to main.

deployed dev