feat: scripts/MANIFEST.yaml — agent-navigable tool discovery template#10
Merged
feat: scripts/MANIFEST.yaml — agent-navigable tool discovery template#10
Conversation
…covery Adds machine-readable tool declarations so agents can discover construct scripts without reading source code. Maps to universal patterns across Anthropic (input_schema), OpenAI (function parameters), MCP (tools/list), and Pi (AgentTool<T>). MANIFEST.yaml declares per-script: name, description, runtime, args with types, output format/fields, credential requirements, and danger_level. Four examples: TypeScript search, Bash diff, Python generator, batch pipeline. CONTRIBUTING.md updated with: - Navigability section explaining why MANIFEST.yaml exists - Comparison table mapping manifest fields to AI firm equivalents - Self-description convention (--help) - Reference implementations (k-hole/TS, ruggy/bash, the-mint/python) - Explicit SKILL.md invocation guidance Based on research across Anthropic, OpenAI, Pi, Vercel AI SDK, MCP, and Open Agent Skills standard. Audited against all 23 constructs in network. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
scripts/MANIFEST.yaml— a machine-readable tool declaration template that lets agents discover construct scripts without reading source code. UpdatesCONTRIBUTING.mdwith navigability guidance.Why
Research across 6 AI firms + audit of all 23 constructs in the network revealed:
--helpflag — agents must read source to discover argsThe manifest bridges this gap at the construct level, mapping directly to industry patterns:
name+descriptiontool.name/descriptionfunction.name/descriptiontool.name/descriptionargsinput_schemaparametersinputSchemaoutputtool_resultoutputSchemadanger_levelannotations.destructiveHintWhat's in the template
scripts/MANIFEST.yaml— 4 example script declarations:Each declares: name, description, runtime, args (with types/defaults), output format/fields, credentials, side effects, danger_level.
CONTRIBUTING.mdupdated:--help)Design decisions
Research basis
capabilitiesstanza (model_tier, danger_level, effort_hint) is unique and valuable — no other system has itTest plan
yq eval '.' scripts/MANIFEST.yamlvalidates cleanly🤖 Generated with Claude Code