agent-creator

Solid

Author a new project-specific Pythinker subagent (a specialist like "migration-reviewer" or "api-contract-checker") with a correct spec, a persona-rich system prompt, and a structured output contract. Use when the user wants to create, scaffold, or design a custom agent / subagent, or asks how Pythinker agent YAML / markdown agent files, tool scoping, or the extend-inheritance schema work.

AI & Automation 27 stars 8 forks Updated today MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Agent Creator Guide the user to a correct, immediately-loadable Pythinker agent definition. The hard part is not the file format — it is a sharp `when_to_use`, a scoped tool set, a persona that earns its keep, and a structured output contract. The builtin agents under `src/pythinker_code/agents/default/` (`plan.yaml`, `explore.yaml`) are the quality bar; match them. Do NOT invent a new loader or code path. Two existing, additive mechanisms already load custom agents — pick the one that fits and write a file. No changes to `agentspec.py`, the CLI, or the runtime are needed. ## Two ways to define an agent ### A. Markdown agent file (quick, auto-discovered) — preferred default A single `<name>.md` placed in a discovery directory is auto-discovered on the next launch. Frontmatter fields recognized by `parse_markdown_agent`: - `name` — the agent name (falls back to the filename stem). - `description` — what it is (falls back to the first body line). - `when_to_use` — when the orchestrator should delegate to it (falls back to `description`). - `tools` — a YAML list of **friendly tool names**, mapped to import paths automatically — do NOT use the `module:ClassName` form here. The supported names are: `Agent`, `Bash`, `Edit`, `Fetch`, `Glob`, `Grep`, `Read`, `TodoWrite`, `WebFetch`, `WebSearch`, `Write`. - `model` — optional model alias. The markdown **body** is the agent's system prompt (its persona + rules + output contract). ```markdown --- name: migration-reviewer d...

Details

Author
Pythoughts-labs
Repository
Pythoughts-labs/pythinker-code
Created
4 months ago
Last Updated
today
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category