Ai cli bootstrap skill
A Codex skill that builds tiny task-specific CLI tools on demand when the model cannot directly access the data it needs.
npx -y skills add Siwoo4985/ai-cli-bootstrap-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Build and run tiny AI-only CLI tools to unblock tasks that depend on data or actions the agent cannot natively access. Use when the agent is asked to read, collect, convert, or analyze content from external platforms or APIs such as X posts, YouTube transcripts, Reddit threads, web pages, feeds, local databases, or custom endpoints, and the fastest path is to create a task-scoped CLI first and then use its output to finish the user request.
SKILL.md
2.0 KB, as published. Nobody here has run it
AI CLI Bootstrap Skill
Overview
Use this skill when direct access is the only blocker. Reuse an existing local tool first, otherwise generate the smallest task-scoped CLI needed to fetch or transform the missing artifact, run it immediately, and answer from the result.
Workflow
- Identify the missing artifact and the final answer format.
- Reuse an existing local script, binary, or integration if one already solves the gap.
- If nothing suitable exists, scaffold a helper in
.agent-tools/<slug>/cli.py. - Keep the helper agent-facing:
- minimal arguments
- plain text or JSON output
- no interactive prompts
- environment variables for secrets
- Run the helper on a real or representative sample before trusting it.
- Use the helper output to finish the original task.
Scaffold
Generate a starter helper with:
python scripts/bootstrap_ai_cli.py youtube-script \
--purpose "Fetch transcript text and metadata for a YouTube video" \
--template transcript_stub \
--workspace "$PWD"
If the host repository already uses another scratch-tool convention, override it with --tools-dir.
Rules
- Prefer a single Python file.
- Prefer the standard library first.
- Implement only the missing edge.
- Stop calling it a tiny CLI if it starts needing config, subcommands, or framework structure.
References
references/ai-only-cli-rules.md: detailed operating rulesreferences/decision-guide.md: build vs reuse vs stopreferences/anti-patterns.md: what not to buildtemplates/: starter scaffolds by task type