Labels and capabilities

September 13, 2026 · View on GitHub

This page is the canonical reference for the label taxonomy used on issues and pull requests in this framework repository (apache/magpie). It also defines the capability model that classifies what each skill or tool in the framework actually does, independent of which subject area it sits under.

Every issue and pull request opened against this repository should carry at least one family:* label and at least one capability:* label. New tools and new skills must declare their capability up front (see The rule).

Scope caveat. This taxonomy applies to this framework repository. Skills that create issues or PRs on an adopter's tracker (e.g. security-issue-import, security-issue-fix, issue-fix-workflow) use the adopter's own label scheme — adopters are free to mirror this taxonomy in their own repo but are not required to.


Label dimensions

The repository's labels fall into four orthogonal dimensions. An issue or PR typically carries one label from each dimension that applies.

1. family:* — subject

What part of the framework does this touch?

Ten of these labels mirror the canonical skill-family vocabulary — the closed set every skill declares in its family: frontmatter key, enforced as ALLOWED_FAMILIES by skill-and-tool-validator and summarised in README.md → Skill families. Two of them (setup, utilities) are the always-on families wired on every install; the other eight are opt-in (see skills/setup/SKILL.md Golden rule 8).

LabelTypeCovers
family:setupalways-onsetup plus the setup-* skills — framework adoption / upgrade / verify, isolated-agent sandbox setup, shared-config sync (docs/setup/)
family:utilitiesalways-onFramework meta-skills: write-skill, optimize-skill, skill-reconciler, report-framework-issue, list-skills (docs/utilities/)
family:securityopt-insecurity-issue-*, security-cve-allocate, security-model-*, security-tracker-stats-dashboard (docs/security/)
family:issueopt-inissue-* skills (issue-triage, issue-reproducer, issue-fix-workflow, issue-reassess, issue-reassess-stats, issue-stale-sweep, issue-deduplicate, issue-backlog-stats) (docs/issue-management/)
family:pr-managementopt-inpr-management-* skills plus pr-stale-sweep, pre-first-pr-check, reviewer-routing (docs/pr-management/)
family:release-managementopt-inrelease-* skills — planning, RC cut, [VOTE] draft + tally, promote, [ANNOUNCE], archive sweep, audit report, keys sync (docs/release-management/)
family:repo-healthopt-inRead-only repository audits and their follow-up fixes: ci-runner-audit, workflow-security-audit, dependency-audit, dependency-license-audit, license-compliance-audit, flaky-test-triage, audit-finding-fix (docs/repo-health/)
family:pairingopt-inpairing-self-review, pairing-multi-agent-review (docs/pairing/)
family:mentoringopt-inmentoring-welcome, newcomer-issue-explainer, good-first-issue-author, good-first-issue-sweep (docs/mentoring/)
family:contributor-growthopt-inThe path-to-committer track: contributor-activity-sweep, contributor-sentiment, contributor-to-committer, contributor-nomination, committer-onboarding, onboarding-concierge (docs/contributor-growth/)

Three further family:* labels cover parts of the repository that are not a skill family. They exist only as issue / PR labels and never appear in a family: frontmatter key — the validator would reject them:

LabelCovers
family:toolsSubstrate tools and capability adapters under tools/* (CLI bridges, agent-runtime adapters, mail-source backends)
family:ci.github/ workflows, prek hooks, validators
family:docsdocs/, MISSION.md, READMEs

A change that spans both dimensions carries both labels — a new mentoring skill and its guide is family:mentoring + family:docs. The two tables above are the reference for the repository's label set: if the label you need is not on the repository yet, a committer creates it from here rather than reaching for an approximate existing one.

2. capability — two axes (skills vs tools)

Per RFC-AI-0005, "capability" is two orthogonal vocabularies, one per entity. A skill carries one or more skill capabilities (capability:*); a tool carries one or more tool capabilities (contract:* or substrate:*). List all that apply; do not pick a single "primary".

Axis 1 — skill capability (capability:*) — the workflow-lifecycle phase a skill performs:

LabelDefinition
capability:triageSweep a queue, classify candidates, propose dispositions for human confirmation.
capability:reviewDeep per-item code review of a PR or local diff; also contributor mentoring (single-item teaching intervention).
capability:fixImplement a code change against an upstream repo to resolve a triaged issue.
capability:intakeImport external signal (mailing list, scan report, public PR) into a tracker entry, or keep an existing entry reconciled with one of those sources.
capability:reconciliationCompare tracker state against an external inventory (e.g. ASF security dashboard, organization-wide issue registry); surface drift; propose corrections. Does not write to either source.
capability:resolveClose-out actions: invalidate, dedupe, CVE-allocate, post-announcement housekeeping.
capability:reassessRe-run resolved or end-of-life issues against current code to verify still-fixed / still-broken.
capability:statsRead-only dashboards, metrics, governance evidence, contributor nomination briefs.
capability:platformFramework / agent substrate skills: install, verify, update, doctor, override-upstream, status, shared-config-sync, the setup bootstrap.
capability:authoringSkills that author or maintain a durable framework artefact rather than acting on a queue item: other skills (write-skill, optimize-skill) and the project's own security model (security-model-prepare, security-model-update).

Axis 2 — tool capability (contract:* / substrate:*) — the interface a tool/adapter provides. contract:<name> implements a capability contract under tools/<contract>/; substrate:<name> is framework substrate:

LabelKindDefinition
contract:trackercontractIssue / board / label backend.
contract:source-controlcontractBranch / commit / diff / push (VCS).
contract:change-requestcontractProposed-change review + merge gate (pull request / merge request / Gerrit change).
contract:mail-archivecontractMailing-list / forum archive reads.
contract:mail-sourcecontractInbound-mail ingestion (mbox / IMAP / …).
contract:mail-createcontractOutbound mail composition. Always produces an editable draft; sending is a separate human-approved step on that draft (draft mode = default and the only mode implemented today; send mode declared but unimplemented — no autonomous send).
contract:cve-authoritycontractCVE allocation / record management / publication.
contract:report-relaycontractInbound security-report relay detection.
contract:scan-formatcontractSecurity-scanner report parsing.
contract:project-metadatacontractGovernance rosters / people / releases.
substrate:analyticssubstrateRead-only metrics / dashboards / renderers.
substrate:sandboxsubstrateAgent isolation, egress control, settings audit.
substrate:action-guardsubstrateDeterministic pre-tool-use command guards.
substrate:privacysubstratePII redaction / approved-LLM gating.
substrate:framework-devsubstrateBuild / validate / eval the framework itself.

Coverage qualifiers

Some tool READMEs may declare a Coverage: qualifier next to a capability when the tool intentionally implements only part of a contract.

partial-read-only means the tool implements a read-only subset of named contract operations, but does not satisfy the complete contract and must not be advertised as a complete/selectable backend.

Both capability axes are orthogonal to family:*. A single query can answer "how is our triage stack doing across PR + issue + security?" by filtering on capability:triage alone, without enumerating per-area queries.

Agent-harness support (substrate tools only). A substrate tool that integrates with the agent harness (a hook, a settings file, a launcher) declares a **Harness:** field naming the harness(es) it supports, or agnostic when it depends on none. This is the agent-harness axis of LLM-integration neutrality and is scored by tools/vendor-neutrality-score — distinct from a tool's **Runtime:** field, which is its execution environment (e.g. "Python stdlib"). The recognised harnesses are: Claude Code, Codex, Cursor, Gemini CLI, Copilot, OpenCode, Kiro. A tool is harness-neutral when it is agnostic or supports two or more harnesses.

3. kind:* — change type (pre-existing)

LabelCovers
kind:dxMaintainer dev-loop / CLI UX
kind:policyRule changes (eligibility, thresholds, behaviour switches)
kind:perfToken / latency / API-call budget
kind:adopter-configPer-adopter knob

4. mode:* — handling mode (pre-existing)

LabelCovers
mode:TriageAgentic Triage — spot, classify, route, surface duplicates
mode:MentoringAgentic Mentoring — teaching-register issue/PR interventions + good-first-issue authoring
mode:DraftingAgentic Drafting — agent-authored fix, human-reviewed PR
mode:PairingAgentic Pairing — developer-side dev-cycle skills with mentorship intrinsic
mode:AutonomousAgentic Autonomous — narrowly-scoped auto-merge (off until Triage/Mentoring/Drafting run 2 quarters)
mode:cross-cuttingSpans multiple modes
mode:platformSubstrate / infra — not a mode (sandbox, CI, validators)

Standalone labels

marketing (branding artefacts), dependencies (dependency-update PRs), python:uv (Python uv-managed code), plus the default GitHub labels (bug, enhancement, documentation, good first issue, etc.).


Capability to skill map

Capabilities for every skill currently in .claude/skills/. Skills with two values (separated by +) carry both labels.

SkillCapability / capabilities
pr-management-triagecapability:triage
issue-triagecapability:triage
issue-stale-sweepcapability:triage
pr-stale-sweepcapability:triage
security-issue-triagecapability:triage
ci-runner-auditcapability:triage
dependency-auditcapability:triage
dependency-license-auditcapability:triage
workflow-security-auditcapability:triage
license-compliance-auditcapability:triage
flaky-test-triagecapability:triage
reviewer-routingcapability:triage (scores the configured reviewer roster on area match, git-history familiarity, and open-review load; proposes a primary reviewer plus optional backup — read-only, propose-then-confirm)
pr-management-quick-mergecapability:triage + capability:review (screens the ready-for-review queue for trivial, all-gates-green PRs — triage; submits the maintainer's approve on per-PR confirmation — review)
pr-management-code-reviewcapability:review
pairing-self-reviewcapability:review
pairing-multi-agent-reviewcapability:review
pre-first-pr-checkcapability:review (newcomer-facing pre-flight checklist: SPDX headers, commit shape, Generated-by trailer, placeholder convention — read-only)
pr-management-mentorcapability:review
good-first-issue-authorcapability:review (authors a newcomer-ready good first issue — contributor mentoring on the supply side)
good-first-issue-sweepcapability:review + capability:triage (sweeps the open issue backlog for GFI candidates; scores each against the G1–G7 rubric and proposes the label on maintainer confirmation — a triage sweep in the mentoring family)
mentoring-welcomecapability:review (drafts a first-contact orientation comment for first-time contributors on issues and PRs)
onboarding-conciergecapability:review (answers newcomer "how do I contribute here" questions from the project's contributing guide; hands off design, security, and out-of-scope queries to a human)
newcomer-issue-explainercapability:review (explains a good-first-issue in beginner terms and sketches an approach; read-only, never posts without confirmation)
security-model-verifycapability:review (pre-flight on a published security model: discoverability chain plus completeness against the minimum-bar rubric; remediates with a repo PR or a private-list mail, never a public issue)
issue-fix-workflowcapability:fix
audit-finding-fixcapability:fix
security-issue-fixcapability:fix + capability:resolve (opens the PR that closes the tracker — both phases)
security-issue-importcapability:intake
security-issue-import-from-mdcapability:intake
security-issue-import-from-prcapability:intake
security-issue-import-via-forwardercapability:intake
security-issue-import-from-scancapability:intake
security-issue-synccapability:intake (+ capability:reconciliation once #337 lands the ASF-dashboard step)
setup-shared-config-synccapability:intake + capability:platform (reconciles user-scope config to a sync repo; the act is intake, the subject is setup)
release-vote-tallycapability:triage + capability:resolve (reads the vote thread / approval signal, classifies each reply as binding or non-binding, tallies the result — triage over the vote-thread queue — and drafts the [RESULT] [VOTE] close-out email for RM review — resolve)
release-preparecapability:resolve (drafts the planning issue, prep PR, and post-release bump PR that open the release lifecycle)
release-announce-draftcapability:resolve (drafts the [ANNOUNCE] email and opens the site-bump PR that complete the release lifecycle)
release-verify-rccapability:triage (read-only RC pre-flight: verifies GPG signatures, checksums, RAT licence headers, NOTICE/LICENSE presence, prohibited binaries, and version-string consistency; emits a PASS/PASS-WITH-WARNINGS/FAIL report)
release-promotecapability:resolve (emits the backend-shaped promotion command set that moves a passed-vote RC to the release distribution area; never runs the command itself)
release-keys-synccapability:resolve (drafts the KEYS file diff and paste-ready svn command sequence to add the RM's public key; validates key strength against the ASF floor)
release-rc-cutcapability:resolve (emits the paste-ready tag, build, sign, checksum, and staging command sequences for an RC)
release-vote-draftcapability:resolve (drafts the [VOTE] email and planning-issue comment that advance the release to the vote stage)
release-archive-sweepcapability:resolve + capability:triage (scans the dist area, classifies each release against the retention rule — triage — and proposes the command set to move past-retention releases to the archive — resolve)
security-cve-allocatecapability:resolve
security-issue-invalidatecapability:resolve
security-issue-deduplicatecapability:resolve
issue-deduplicatecapability:resolve (closes a duplicate general-issue and posts cross-reference comments; maintainer confirms before any action is applied)
security-model-updatecapability:reassess + capability:authoring (re-reads closed trackers, reporter threads, and canned responses against the published model — reassess — and proposes the known-non-finding and gap diff — authoring)
issue-reassesscapability:reassess
issue-reproducercapability:reassess
pr-management-statscapability:stats
issue-reassess-statscapability:stats
issue-backlog-statscapability:stats
security-tracker-stats-dashboardcapability:stats
contributor-nominationcapability:stats
contributor-to-committercapability:stats
contributor-activity-sweepcapability:stats
contributor-sentimentcapability:stats (measures contributor-sentiment signals — thread tone, time-to-first-reply, first-PR retention, reviewer load — and produces the gate report for experimental→stable advancement)
committer-onboardingcapability:resolve + capability:triage (post-vote onboarding close-out — resolve — after validating the vote result in pre-flight — triage)
list-skillscapability:stats
release-audit-reportcapability:stats (assembles the per-release audit record from the planning issue, vote thread, artefact list, and announce archive URL)
setup-privacy-llmcapability:platform (configures which LLMs may see the project's private foundation content, and verifies the gate and the PII redactor — framework plumbing, not an act on any issue or PR)
setup-statuscapability:stats + capability:platform (reports the adoption configuration — stats — and delegates reconfiguration to the setup skill)
setupcapability:platform
setup-isolated-setup-installcapability:platform
setup-isolated-setup-verifycapability:platform
setup-isolated-setup-updatecapability:platform
setup-isolated-setup-doctorcapability:platform + capability:reassess (re-checks an installed sandbox against current spec — the phase is reassess on subject setup)
setup-override-upstreamcapability:platform
setup-upstream-fixcapability:platform
report-framework-issuecapability:platform (files a redacted bug / change-proposal issue against the framework repo when a skill or tool misbehaves; the mandatory public-disclosure scrub keeps private tracker / CVE / cross-project content out of the public issue; never files without confirmation)
security-model-preparecapability:authoring (produces the project's first security model in draft-first mode and lands it, plus its discoverability chain, as one reviewable PR per repository)
write-skillcapability:authoring
optimize-skillcapability:authoring
skill-reconcilercapability:reconciliation (compares two near-duplicate skill copies and classifies every difference as ALLOWED, DRIFT, or SAFETY-BASELINE; proposes convergence; never writes either copy)

Capability to tool map

Tools under tools/. A tool's capability is the interface it provides; a tool may carry more than one value (separated by +) when it provides more than one interface — either several contracts (e.g. tools/gmail provides mail-source, mail-archive, and mail-create) or a contract-free mix of substrates (e.g. tools/spec-inventory is substrate:framework-dev + substrate:analytics).

ToolCapability / capabilitiesRole
tools/agent-guardsubstrate:action-guardDeterministic pre-execution guard dispatcher (harness-neutral core behind a Claude Code PreToolUse hook, an OpenCode tool.execute.before plugin, a Kiro preToolUse hook, and a Gemini CLI BeforeTool hook): blocks gh/git commands that would ping maintainers, carry a Co-Authored-By trailer, mark-ready prematurely, leak security language publicly, or empty a PR via force-push. Extensible — skills contribute guards via guards.d
tools/agent-isolationsubstrate:sandboxSecure-agent sandbox helpers
tools/apache-projectscontract:project-metadataASF project-metadata substrate (apache/comdev apache-projects-mcp); read-only projects.apache.org/json rosters / people / releases. Backs contributor-nomination and the security roster-resolution paths; tracked at main, not pinned
tools/asf-svncontract:source-controlASF SVN tool adapter: source-control binding for svn.apache.org working copies (centralized model), svn CLI operation catalogue, dist.apache.org release-distribution helpers (stage/promote/prune), ASF committer/PMC authorization, and optional svnpubsub site publishing. The SVN counterpart to tools/github/ for ASF projects. Also the land delegate for the jira-patch and mail-patch change-request backends (svn patch + svn commit)
tools/change-requestcontract:change-requestAdapter contract for the proposed-change review + merge gate (pull request / merge request / patch). Pure interface spec; no executable code — backends under tools/github/ (PR), tools/jira-patch/, and tools/mail-patch/ implement it. The seam that lets pr-management-* skills run on non-GitHub backends
tools/cve-orgcontract:cve-authorityCVE.org services adapter: publishes records to CVE.org and reads back the resulting CVE state. Implements the tools/cve-tool/ contract for the CVE.org-direct backend
tools/cve-toolcontract:cve-authorityAdapter contract for CNA backends (Vulnogram, MITRE form, CVE.org direct, GHSA). Pure interface spec; no executable code — adapters under sibling tools/cve-tool-*/ directories implement it.
tools/cve-tool-vulnogramcontract:cve-authorityASF Vulnogram CVE-allocation adapter. Implements the tools/cve-tool/ contract. Previously named tools/vulnogram/.
tools/dashboard-generatorsubstrate:analyticsSelf-contained HTML dashboard generator
tools/devsubstrate:framework-devFramework dev-loop helpers
tools/egress-gatewaysubstrate:sandboxEgress-allowlist forward proxy (proxy.py plugin); host-level egress chokepoint — defence-in-depth for RFC-AI-0003 §4.4
tools/forwarder-relaycontract:report-relayAdapter contract for inbound-relay backends (ASF Security relay, huntr.com, HackerOne triagers). Pure interface spec; adapters declare detection + credit-extraction + reporter-addressing rules.
tools/bitbucketcontract:change-request + contract:trackerCoverage: partial. Bitbucket Cloud and Bitbucket Data Center bridge foundation for repository metadata context, branch restriction context for PR-management decisions, pull-request discovery/fetching, read-only commit fetching, read-only diff fetching, comments-only discussion fetching, read-only review-state fetching, Cloud-only pull-request task listing/fetching, read-only merge-check context fetching, and read-only status fetching, plus narrowly scoped Cloud pull-request comment creation and approve/unapprove actions. Tracker coverage includes Cloud-only issue listing/fetching, issue comment fetching, issue attachment metadata fetching, and confirmed issue-comment creation. The partial qualifier means this tool implements named contract operations but does not satisfy the complete contract and must not be counted as a complete/selectable backend. Broader pull-request review/mutation, broader issue writes, and linked Jira handoff coverage remain incomplete.
tools/fossilcontract:tracker + contract:source-controlFossil SCM forge bridge: integrates local SQLite-backed ticket tracking, wiki, and forum reads with the version-control shim
tools/githubcontract:tracker + contract:source-control + contract:change-requestGitHub REST / GraphQL tracker substrate (called by every lifecycle phase) plus the Git source-control binding documented in source-control.md (runnable backend in tools/vcs) and the pull-request review/merge gate (change-request; the ASF default backend, alongside tools/jira-patch/ and tools/mail-patch/ for SVN-first projects)
tools/github-body-fieldcontract:trackerRead or rewrite one ### Field section of a GitHub issue body without bringing the body into agent context — substrate helper for the security-sync skills
tools/github-rollupcontract:trackerAppend to (or create) the status-rollup comment on a GitHub issue without bringing the rollup body into agent context — substrate helper for every status-update-emitting skill
tools/gmailcontract:mail-source + contract:mail-create + contract:mail-archiveGmail API substrate — inbound report intake (mail-source), thread / archive reads (mail-archive), plus outbound courtesy-reply drafting (mail-create); read + draft only, never sends
tools/jiracontract:trackerJIRA REST substrate (read-only today; write subcommands tracked in #301)
tools/jira-patchcontract:change-requestJIRA-patch change-request backend: patches attached to JIRA issues as the proposal, reviewed via JIRA comments, landed via contract:source-control (svn patch + svn commit). Composes tools/jira/ (REST) + tools/asf-svn/ (land). Implements the tools/change-request/ contract
tools/mail-archivecontract:mail-archiveAdapter contract for public mail-archive backends (PonyMail, Hyperkitty, Discourse, Google Groups, GitHub Discussions). Pure interface spec.
tools/mail-patchcontract:change-request[PATCH]-mail change-request backend: a [PATCH] thread on dev@ as the proposal, reviewed via drafted replies (contract:mail-create), read via contract:mail-archive, landed via contract:source-control (svn patch + svn commit). Implements the tools/change-request/ contract
tools/mail-sourcecontract:mail-sourceMail-source backend abstraction (mbox / IMAP / Mailman 3) feeding a uniform inbound thread/message view to the intake pipeline
tools/maildircontract:mail-source + contract:mail-createLocal Maildir backend (Vendor: Maildir) — the offline, credential-free counterpart of tools/gmail. Implements mail-create by filing editable outbound drafts into a local Maildir for any mail client to send (never sends itself); its mail-source side is the local mbox/Maildir archive reader (tools/mail-source/mbox). The second, non-Google mail-create backend — closes the outbound-mail vendor-neutrality gap
tools/ponymailcontract:mail-archive + contract:mail-sourcePonyMail public mail-archive substrate (ASF lists.apache.org); implements the tools/mail-archive/ contract for archive reads and the tools/mail-source/ contract for inbound list-traffic ingestion
tools/scan-formatcontract:scan-formatAdapter contract for security-scanner report formats (ASVS reference); reads a scan's finding index + per-finding evidence for the security-issue-import-from-scan pipeline.
tools/permission-auditsubstrate:sandboxAudit + atomically edit Claude Code permissions.allow[] entries; backs /magpie-setup verify --apply-permission-audit (check 8d)
tools/vetted-opssubstrate:sandboxFixed, policy-scoped forge operations — a closed catalogue whose parameters can never become commands or flags, so one allow entry replaces the wildcard Layer 3 ask rules
tools/pr-management-statssubstrate:analyticsPR-backlog analytics engine
tools/preflight-auditsubstrate:analyticsDry-run the bulk-mode pre-flight classifier; measure skip-rate before / after any rule edit in the security-issue-sync skill
tools/privacy-llmsubstrate:privacyPrivacy-LLM PII-scrubbing gate
tools/probe-templatessubstrate:sandboxSandbox-doctor probe templates
tools/sandbox-lintsubstrate:sandboxSandbox settings linter
tools/security-tracker-stats-dashboardsubstrate:analyticsSecurity-tracker analytics engine
tools/spec-loopsubstrate:framework-devSpec-driven build loop runner (Ralph-style) for framework development
tools/skill-evalssubstrate:framework-devEval harness for skills; framework-dev infrastructure whose run output is governance evidence
tools/skill-and-tool-validatorsubstrate:framework-devSkill-frontmatter and convention validator
tools/skill-token-countsubstrate:framework-dev + substrate:analyticsReproducible full-file skill token measurements and documentation drift check
tools/spec-inventorysubstrate:framework-dev + substrate:analyticsCompact routing inventory for spec-loop prompts — summarizes specs, skills, and tool metadata so agents can choose relevant files before direct verification
tools/spec-status-indexsubstrate:framework-dev + substrate:analyticsIndex of spec / RFC implementation status — framework-dev substrate that also doubles as a governance/stats view (analytics)
tools/vendor-neutrality-scoresubstrate:framework-dev + substrate:analyticsDeterministic vendor-neutrality score — reads each contract tool's **Kind:** / **Vendor:** metadata and scores per-contract + per-skill neutrality (analytics); backs the score block in docs/vendor-neutrality.md
tools/spec-validatorsubstrate:framework-devSpec-frontmatter and body-section validator — counterpart to skill-and-tool-validator for tools/spec-loop/specs/
tools/symlink-lintsubstrate:framework-devSelf-adoption symlink hygiene — rejects cyclic symlinks, misdirected skill relays (canonical/relay target-correctness), and incomplete self-adoption symlink sets
tools/pilot-report-validatorsubstrate:framework-devAdopter pilot-report validator — required frontmatter keys, no unfilled placeholders, valid profile, and required body sections; counterpart to spec-validator for docs/pilot-report-template.md
tools/skill-reconciler-diffsubstrate:framework-devDeterministic structural diff between two skill trees — parses frontmatter, section headings, step inventory, placeholders, support files, and safety-baseline clauses into a JSON diff object for the skill-reconciler skill
tools/vcscontract:source-controlBackend-dispatching implementation of the source-control (VCS) capability (tools/github/source-control.md); complete Git, Mercurial (Hg), and Fossil backends, plus detected extension point for SVN (#602)
tools/sourcehutcontract:tracker + contract:source-control + contract:mail-archiveSourceHut (sr.ht) forge bridge: todo.sr.ht, lists.sr.ht, builds.sr.ht, and git/hg repository reads

A tool's capability is the interface it provides, not which skills happen to consume it (RFC-AI-0005). tools/github provides the contract:tracker interface; tools/cve-tool-vulnogram provides contract:cve-authority; tools/privacy-llm is substrate:privacy. Use a contract:<name> value when the tool implements a capability contract under tools/<contract>/, and a substrate:<name> value for framework substrate. A tool may carry more than one value whenever it genuinely exposes several interfaces — the multi-value rows in the table above are the authoritative list, and they are a normal case rather than an exception (forge bridges such as tools/github, tools/fossil, and tools/sourcehut; the mail backends tools/gmail, tools/maildir, and tools/ponymail; and the framework-dev tools that double as analytics).

MCP servers, classified by capability

Several tools wrap a Model Context Protocol (MCP) server as their concrete backend. An MCP server is not a separate axis — it is classified by the capability its wrapping tool provides; the MCP is just the transport, interchangeable with a CLI or REST backend behind the same contract. A skill never names an MCP server — it targets the capability, and the tool routes to whichever backend the adopter wired in. The framework consumes four:

MCP serverTool prefixWrapped byCapability providedOrganization
GitHub MCPmcp__github__*tools/githubcontract:tracker + contract:source-control + contract:change-request
Gmail MCP (claude.ai)mcp__claude_ai_Gmail__*tools/gmailcontract:mail-source + contract:mail-create + contract:mail-archive
PonyMail MCP (apache/comdev)mcp__ponymail__*tools/ponymailcontract:mail-archive + contract:mail-sourceASF
apache-projects MCP (apache/comdev)mcp__apache-projects__*tools/apache-projectscontract:project-metadataASF

Each wrapping tool declares this relationship in its own README with an **MCP:** <server> (mcp__<prefix>__*) marker (see tools/AGENTS.md) — that per-tool marker is the source of truth; this table mirrors it for a one-glance overview.

Non-MCP backends fulfil the same contracts: JIRA is reached over REST and gh is the CLI fallback, both contract:tracker. See docs/prerequisites.md for connection setup.

MCP servers are installed for the user, not the project. They are registered at user scope (claude mcp add … -s user), so a single registration serves every repository on the machine. Consequently they are usable by any agent session — not only Magpie-adopting projects or Magpie-related work. Magpie surfaces the registration command and verifies it during setup, but the server itself is a plain, project-agnostic MCP: once registered it is available to any agentic session the same way a globally-installed CLI would be. Nothing about using one ties a session to Magpie.


The rule

When you create any of the following on this repository, declare the capability:

A GitHub issue

Apply at least one family:* AND one capability label — a skill capability (capability:*) for skill work, a tool capability (contract:* / substrate:*) for tool work. If the issue genuinely spans capabilities, apply all that apply.

A pull request

Same: family:* AND the matching capability. Match the capability the change is implementing, not the file paths it happens to touch. A PR that adjusts the validator config to support a new triage rule is capability:triage (the change's purpose), not substrate:framework-dev (the file it edited).

A new tool under tools/

Declare the tool's capability in the first paragraph of its README using the line:

**Capability:** contract:NAME

…or substrate:NAME for framework substrate. If the tool serves more than one, list them (contract:a + substrate:b). Pick the contract:<name> that matches the capability contract the tool implements, or the substrate:<name> kind that fits.

A new skill under .claude/skills/

Declare the capability in the skill's frontmatter:

---
name: my-new-skill
description: |
  ...
capability: capability:NAME
---

The write-skill skill prompts for this on every new-skill scaffold.

A new doc under docs/

Capability-specific docs (e.g. a guide for a single skill family) should link to this page and name the capability in their first paragraph. Cross-cutting docs (MISSION.md, top-level READMEs) need no capability marker.


Why this exists

The original family:* labels split issues by subject — useful for "what part of the codebase is this?" but unable to answer "what kind of thing is this?". The capability:* dimension fills that gap and is orthogonal: a triage-rule change in PR management (family:pr-management + capability:triage) and a triage-rule change in security (family:security + capability:triage) become trivially findable as a cohort even though they live in different families.

Capability is also a forcing function for skill design: if a new skill doesn't fit any of the ten skill-capability buckets cleanly, that's a signal worth inspecting before the skill ships.