Adapter capability probe

From rohitg00/agentbrain · View interactive version

Adapter capability probe is an AI agent skill from the GitHub repository rohitg00/agentbrain. Use when a command, adapter, or runtime smoke depends on proving an agent runtime's capabilities before trusting command routing, writes, shell access, or validation claims.

How to use this skill

Skill file

adapter-capability-probe

Lifecycle stage: VERIFY

Trigger

Use when Agent Brain is being run through an adapter, CLI runtime, subagent runtime, approval-gated runtime, skill runtime, or markdown-only harness and any claim depends on what the runtime can actually do.

Use before upgrading a run from read-only smoke to full validation, before accepting native /brain-* command support, or before trusting that blocked commands were reported honestly.

When not to use

Do not use for ordinary product verification where runtime capability is irrelevant. Do not use it to bypass /brain-verify; load it with runtime-smoke when capability evidence is part of the verification claim.

Inputs

Procedure

  1. Inspect the selected command file and list the skills it requires.
  2. Record whether /brain-* entries are native commands or markdown specs; treat them as markdown specs unless the runtime proves native support.
  3. Probe one capability at a time with the least-privileged safe check: read access, temp-dir write access, shell access, approval flow, network policy, artifact emission, and blocked-command reporting.
  4. Mark each capability as yes, no, blocked, or unknown; never infer support from a confident model response.
  5. Record the exact evidence source for each capability: command output, runtime setting, adapter docs, transcript line, or unknown.
  6. If the probe is read-only or blocked, keep run_scope as read_only_smoke and list the blockers instead of claiming full validation.
  7. Feed the capability matrix into runtime-smoke and validate the resulting artifact against schemas/runtime-smoke.schema.json.

Anti-Rationalization

Verification

Output Artifact

Runtime Smoke

Use templates/runtime-smoke.md and schemas/runtime-smoke.schema.json, plus QA evidence when /brain-verify owns the overall verification. Include blockers and next action so another agent can resume without inferring capability status from prose.

Failure Modes

Stop if the runtime cannot read the repository, the adapter path is undocumented, the command route is ambiguous, write-capable checks lack approval, transcript content cannot be redacted, or the runtime claims capabilities that cannot be backed by concrete evidence.

Example

Trigger: /brain-verify is checking whether Agent Brain works in a new approval-gated runtime. Action: open commands/brain-verify.md, list qa-evidence, runtime-smoke, adapter-capability-probe, ci-recovery, and agent-output-verifier as loaded skills, then probe read access, temp-dir write access, shell access, approval flow, command routing mode, and blocked-command reporting. Output artifact: templates/runtime-smoke.md with run_scope: read_only_smoke if shell or writes are blocked. Verification: validate the runtime-smoke JSON and include the exact command, runtime version, adapter path, sandbox/write mode, blocked commands, and capability evidence before handoff.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.