capability-discovery

capability-discovery is a skill for Claude Code from synaptiai/synapti-marketplace. It costs 77 tokens per session (1,311 once invoked), scanned A, original, Apache-2.0.

A scan of the project and environment to find available agents, skills, commands, quality checks, and code-intelligence tools.

In plain words
What is it for?
Use it when starting implementation, creating or reviewing pull requests, or responding to review feedback.
Why use it?
It prevents an agent from assuming that a tool exists or overlooking a useful way to inspect or verify the work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the flow plugin — 33 skills, 20 commands, 11 agents shipped together

Good fit Use it when starting implementation, creating or reviewing pull requests, or responding to review feedback.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add synaptiai/synapti-marketplace
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 20 commands, 11 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for capability-discovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/capability-discovery/github.svg)](https://agentmods.dev/skills/synaptiai/synapti-marketplace/capability-discovery)
Your own site
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/capability-discovery"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/capability-discovery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for capability-discovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/capability-discovery"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/capability-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,311 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.01311
Opus 5.5 $0.00031 $0.00524
Sonnet 5.5 $0.00015 $0.00262
Haiku 4.5 $0.00008 $0.00131

Measured 25d ago against content hash 41e5a2fdd329, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

capability-discovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/flow/skills/capability-discovery/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Capability Discovery

Contract

Iron law: discover before assuming — never hardcode tool availability; scan the environment first. Invoked once per command run, before any quality or verification phase: /flow:start Phase 1, /flow:pr pre-flight, /flow:address before verification, /flow:resolve step 1c, /flow:setup Phase 1, /flow:design and /flow:brainstorm EXPLORE, and the test-runner agent. Returns the six-section markdown report below (Agents Available, Skills Available, Quality Commands, Tech Stack, Verification Capabilities, LSP Capabilities). The calling command stores the output for later phases and does not re-invoke it within the same run. Permitted skips: the markdown-only early exit (no tech-stack file and no quality commands in CLAUDE.md) and LSP probing when lsp.enabled is false.

Detection Order

The plugin's own agents, skills and commands are under the flow plugin root, which in a project is outside the repository (a plugins/ path exists only in the marketplace repository). Print it first; references/plugin-root-resolution.md describes the search:

printf 'FLOW_ROOT=%s\n' "$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")"

An empty FLOW_ROOT= means no install was found: report the plugin rows as unavailable rather than as none.

Steps 1-5 are independent — run them simultaneously with parallel tool calls.

  1. Agents: Glob ".claude/agents/*.md" (project) and "<FLOW_ROOT>/agents/*.md" (plugin); parse source, name (filename without .md), description (frontmatter).
  2. Skills: Glob ".claude/skills/*/SKILL.md" and "<FLOW_ROOT>/skills/*/SKILL.md"; parse source, name (parent directory), description.
  3. Commands: Glob ".claude/commands/*.md" and "<FLOW_ROOT>/commands/*.md"; parse source, name, description.
  4. Quality commands from CLAUDE.md — .claude/CLAUDE.md first, then CLAUDE.md:

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed 41e5a2fdd329
  2. 1mo ago Changed · -21 lines 3a3abdf5c85d
  3. 2mo ago Changed · -9 lines c965cbf76691
  4. 2mo ago Changed · +14 lines b5e1fa538d7a
  5. 2mo ago Changed · -85 lines 5a7ec1980cc9
  6. 3mo ago First seen · 159 lines · 77 tokens per session scan A 0035aae82ca0

Subscribe to this mod's changes

capability-discovery is a skill published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 77 tokens to every session and 1,311 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

capability-discovery compared with skills from other repositories

capability-discovery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
capability-discoverysynaptiai/synapti-marketplaceSkill9todayApache-2.0A77Claude Code
create-or-update-conceptsCaptainMe-AI/lead-dev-osSkill224d agoMITA46Claude Code
step2-scope-tasksCaptainMe-AI/lead-dev-osSkill224d agoMITA20Claude Code
step1-write-specCaptainMe-AI/lead-dev-osSkill224d agoMITA20Claude Code
plan-productCaptainMe-AI/lead-dev-osSkill224d agoMITA32Claude Code
plan-roadmapCaptainMe-AI/lead-dev-osSkill224d agoMITA25Claude Code
create-prCaptainMe-AI/lead-dev-osSkill224d agoMITA70Claude Code