Migrating Mastra To Pydantic AI
pydantic/pydantic-ai
Migrate TypeScript Mastra applications to Python with Pydantic AI and, only when needed, Pydantic AI Harness.
Creates Claude subagents equipped with curated skills for solving problems within DAG workflows.
$ npx skills add curiositech/some_claude_skills --skill skillful-subagent-creator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install curiositech/some_claude_skills skillful-subagent-creator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/skillful-subagent-creator .claude/skills/skillful-subagent-creator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "skillful-subagent-creator" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/skillful-subagent-creator into .claude/skills/skillful-subagent-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skillful-subagent-creator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/skillful-subagent-creatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add curiositech/some_claude_skills --skill skillful-subagent-creator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install curiositech/some_claude_skills skillful-subagent-creator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/skillful-subagent-creator .agents/skills/skillful-subagent-creator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "skillful-subagent-creator" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/skillful-subagent-creator into .agents/skills/skillful-subagent-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skillful-subagent-creator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add curiositech/some_claude_skills --skill skillful-subagent-creator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install curiositech/some_claude_skills skillful-subagent-creator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/skillful-subagent-creator .cursor/skills/skillful-subagent-creator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "skillful-subagent-creator" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/skillful-subagent-creator into .cursor/skills/skillful-subagent-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skillful-subagent-creator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/curiositech/some_claude_skills.git --path .claude/skills/skillful-subagent-creator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add curiositech/some_claude_skills --skill skillful-subagent-creator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install curiositech/some_claude_skills skillful-subagent-creator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/skillful-subagent-creator .gemini/skills/skillful-subagent-creator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "skillful-subagent-creator" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/skillful-subagent-creator into .gemini/skills/skillful-subagent-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skillful-subagent-creator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install curiositech/some_claude_skills skillful-subagent-creatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add curiositech/some_claude_skills --skill skillful-subagent-creator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/skillful-subagent-creator .github/skills/skillful-subagent-creator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "skillful-subagent-creator" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/skillful-subagent-creator into .github/skills/skillful-subagent-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skillful-subagent-creator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add curiositech/some_claude_skills --skill skillful-subagent-creator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install curiositech/some_claude_skills skillful-subagent-creator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/skillful-subagent-creator .opencode/skills/skillful-subagent-creator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "skillful-subagent-creator" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/skillful-subagent-creator into .opencode/skills/skillful-subagent-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skillful-subagent-creator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skillful-subagent-creatorCreates Claude subagents equipped with curated skills for solving problems within DAG workflows.
Skillful Subagent Creator is an agent skill from curiositech/some_claude_skills. Creates Claude subagents equipped with curated skills for solving problems within DAG workflows. Use when designing a specialist subagent, selecting skills for a subagent, writing the 4-section subagent prompt, or wiring subagents into orchestration DAGs. Activate on "create subagent", "subagent with skills", "specialist agent", "agent DAG", "orchestrate agents", "skill-equipped agent". NOT for creating skills themselves (use skill-architect), general Claude Code usage, or single-agent prompting without skills.
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `.claude-plugin/plugin.json` and `CHANGELOG.md`).
It sits in Agent Workflows, covering Subagents. It works with TypeScript. The repository describes itself as: Claude skills that make my life easier. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6713fc7. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteEditGrepGlobFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are mermaid, markdown, json and yaml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Skillful Subagent Creator loads about 3k tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 745 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from curiositech/some_claude_skills at commit 6713fc7, republished under its MIT licence (© curiositech). 745 words, ~2,958 tokens.
.claude/skills/skillful-subagent-creator/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Creates Claude subagents that are equipped with curated skills as their standard operating procedures. Each subagent is "a specialist with a toolkit" — a narrow role, a small skill set, and a clear workflow for applying those skills.
✅ Use for:
❌ NOT for:
skill-architect)flowchart TD
A[Define the role] --> B[Select 2-5 skills]
B --> C[Write 4-section prompt]
C --> D[Define input/output contracts]
D --> E[Choose DAG position]
E --> F{Standalone or chained?}
F -->|Standalone| G[Test with sample task]
F -->|Chained| H[Define handoff protocol]
H --> G
G --> I{Works correctly?}
I -->|No| C
I -->|Yes| J[Deploy]A subagent's role must be narrow enough to be expert, broad enough to be useful.
flowchart TD
A{How narrow?} -->|Too broad| B["Do all marketing" ❌]
A -->|Right| C["Draft landing page copy" ✅]
A -->|Too narrow| D["Fix typos in H1 tags" ❌]Test: Can you describe what this subagent does in one sentence with a specific verb and noun? If not, narrow it.
Examples of well-scoped roles:
| Role | Domain | Sentence |
|---|---|---|
| Refactorer | TypeScript | "Designs and executes safe refactors in TypeScript monorepos" |
| PR Reviewer | Code review | "Reviews pull request diffs for correctness, style, and security" |
| Research Synthesizer | Research | "Synthesizes multi-source research into cited briefing documents" |
| Migration Planner | Databases | "Plans database schema migrations with rollback strategies" |
Skills are the subagent's standard operating procedures. Too few and it improvises; too many and it drowns in context.
flowchart TD
A{For each candidate skill} --> B{Needed for >50% of tasks?}
B -->|Yes| C[Preload into context]
B -->|No| D{Needed for 10-50%?}
D -->|Yes| E[Add to dynamic catalog]
D -->|No| F[Don't include]| Tier | Skills | How Loaded | Token Cost |
|---|---|---|---|
| Preloaded | 2-5 core skills | Full SKILL.md injected into system prompt | ~2-5k tokens per skill |
| Catalog | 5-20 available skills | Name + 1-line description in prompt; loaded on demand | ~50 tokens per skill |
| None | Everything else | Not mentioned; agent uses generic reasoning | 0 tokens |
Role: PR Reviewer for TypeScript/React
| Tier | Skill | Why |
|---|---|---|
| Preloaded | code-review-skill | Core to every task |
| Preloaded | react-server-components | Catches RSC anti-patterns |
| Catalog | typescript-strict-mode | Sometimes relevant |
| Catalog | testing-patterns | Only for test file reviews |
| None | database-migration | Not in scope |
Every subagent prompt has exactly four sections. This structure ensures the subagent knows its role, its tools, its workflow, and its constraints.
You are the **[Role Name]** subagent for this system.
You handle [narrow domain of tasks].
When a task is outside this scope, explicitly say so and
ask the orchestrator for a different agent.Keep it to 2-4 sentences. Name the specific domain. State the boundary explicitly.
You have access to the following skills, which define your methods:
- `skill-a`: [1-line purpose]
- `skill-b`: [1-line purpose]
- `skill-c`: [1-line purpose]
These are your standard operating procedures, not optional hints.
When tackling a task:
1. Decide which skill(s) apply
2. Follow their step-by-step workflow
3. Use their output formats and checklists
4. Reference skill steps by number as you workFor each task you receive:
1. Restate the task in your own words
2. Select one or more skills that fit. If none fit well, say so.
3. If needed, ask 2-5 clarifying questions
4. Produce a short internal plan
5. Execute the skill workflow step by step
6. Run any validation/QA steps from the skill
7. Return:
(a) Final artifacts
(b) Which skills you used (and which steps)
(c) Assumptions and remaining risksQuality bar: [e.g., "Never knowingly leave tests failing"]
Safety: [e.g., "No destructive operations without confirmation"]
Tie-breaking: [e.g., "If speed vs robustness conflict, pick robustness"]
Output format: [e.g., "Always return valid JSON matching the output contract"]Every subagent must have explicit contracts so orchestrators and downstream agents can work with it.
{
"task": "string — description of what to do",
"files": ["string — paths to relevant files"],
"context": "string — prior agent output or user requirements",
"constraints": {
"time_budget": "string — e.g., '5 minutes'",
"quality_bar": "string — e.g., 'production-ready'"
}
}{
"status": "pass | warn | fail",
"artifacts": ["string — files created or modified"],
"summary": "string — 1-3 sentence description of what was done",
"skills_used": ["string — skill names and step numbers"],
"risks": ["string — remaining risks or assumptions"],
"metadata": {
"duration_ms": "number",
"tokens_used": "number"
}
}flowchart TD
subgraph "Single Specialist"
O1[Orchestrator] --> S1[Specialist]
S1 --> O1
end
subgraph "Chain"
O2[Orchestrator] --> C1[Designer]
C1 --> C2[Implementer]
C2 --> C3[Tester]
C3 --> O2
end
subgraph "Fan-out / Fan-in"
O3[Orchestrator] --> P1[Auth Agent]
O3 --> P2[Billing Agent]
O3 --> P3[UI Agent]
P1 --> M[Merger]
P2 --> M
P3 --> M
M --> O3
end| Pattern | When to Use | Skill Requirement |
|---|---|---|
| Single Specialist | Task maps to one domain | Agent has 2-5 preloaded skills |
| Chain | Sequential transformation pipeline | Each agent has different skills; output of A feeds input of B |
| Fan-out / Fan-in | Independent parallel work | Agents work concurrently; merger resolves conflicts |
| Loop | Iterative refinement | Same agent re-runs with feedback until quality bar met |
| Human-in-the-Loop | Approval required | Agent produces draft; human reviews; agent revises |
Each node in a DAG is a subagent with:
node:
id: review-pr
agent: pr-reviewer
skills: [code-review-skill, react-server-components]
input_from: [parse-diff]
output_to: [merge-decision]
retry: 2
timeout: 300s
on_failure: escalate-to-humanname: pr-reviewer
role: "Reviews TypeScript/React pull requests for correctness, style, and security"
skills:
preloaded:
- code-review-skill
- react-server-components
catalog:
- typescript-strict-mode
- testing-patterns
tools: [Read, Grep, Glob]
input_from: [diff-parser]
output_to: [merge-decision]You are the **PR Reviewer** subagent. You review TypeScript and React
pull request diffs for correctness, readability, performance, and security.
You do NOT implement features, fix bugs, or write new code. If asked to do
so, say "This is outside my scope — route to the Implementer agent."
Your skills define your standard process:
- `code-review-skill`: Structured review methodology (correctness → style → perf → security)
- `react-server-components`: Catches RSC anti-patterns ('use client' overuse, async component errors)
For each PR you receive:
1. Restate what the PR changes and why
2. Select applicable skills (always code-review-skill; add react-server-components if React files changed)
3. Follow the skill's review steps in order
4. Produce findings in the output contract format
5. Summarize: approve, request changes, or block
Quality bar: Never approve a PR with failing tests or security vulnerabilities.
Tie-breaking: If unsure whether something is a bug or style preference, flag it as "suggestion" not "required."
Output: Always return JSON matching the output contract schema.Wrong: Creating a subagent with just a role description and no skills. Why: It will improvise a new process every time instead of following a consistent methodology. Fix: Attach 2-5 skills as standard operating procedures.
Wrong: Attaching 15 skills to one subagent. Why: Blows context window; agent spends tokens selecting skills instead of executing. Fix: Max 5 preloaded, rest in catalog. Let the orchestrator pre-filter.
Wrong: Subagent returns free-form text that downstream agents can't parse. Why: DAG breaks because the next node can't consume the output. Fix: Define explicit JSON output contract. Validate in tests.
Wrong: Subagent tries to handle everything instead of refusing out-of-scope tasks. Why: Identity section doesn't state boundaries clearly enough. Fix: Add "You do NOT handle X, Y, Z. If asked, say so and suggest the right agent."
© curiositech, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in .claude/skills/skillful-subagent-creator of curiositech/some_claude_skills.
Open the folder on GitHubat commit 6713fc7
Skillful Subagent Creator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Skillful Subagent Creator this skillcuriositech/some_claude_skills | 243 | — | ~3k | Automated safety check: Pass | MIT | |
| Migrating Mastra To Pydantic AIpydantic/pydantic-ai | 20k | — | ~2k | Automated safety check: Pass | MIT | |
| Migrating Vercel AI SDK And Eve To Pydantic AIpydantic/pydantic-ai | 20k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Deep Agents Orchestrationlangchain-ai/langchain-skills | 1.3k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Golem Parallel Workers TSgolemcloud/golem | 1.5k | — | ~2.2k | Automated safety check: Pass | Custom licence | |
| Jevgrepdzhng/jevgrep | 2.4k | — | ~741 | Automated safety check: Pass | MIT |
pydantic/pydantic-ai
Migrate TypeScript Mastra applications to Python with Pydantic AI and, only when needed, Pydantic AI Harness.
pydantic/pydantic-ai
Migrate TypeScript Vercel AI SDK or Eve applications to Python with Pydantic AI and, only when needed, Pydantic AI Harness.
langchain-ai/langchain-skills
INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents.
golemcloud/golem
Fan out work to multiple parallel agents and collect results in a TypeScript Golem project.
dzhng/jevgrep
A skill your agent uses for questions about how, why, or where behavior works in a repository, including questions that name a function or setting.
langchain-ai/langchain-skills
Explains how to build agents with the Deep Agents framework: create_deep_agent, the built-in middleware, the harness, SKILL.md format and configuration options.
curiositech/some_claude_skills
Detect crisis signals in user content using NLP, mental health sentiment analysis, and safe intervention protocols.
curiositech/some_claude_skills
End-to-end form handling with react-hook-form, Zod schemas, validation patterns, error messaging, field arrays, and multi-step wizards.
curiositech/some_claude_skills
Strategic analyst that maps competitive landscapes, identifies white space opportunities, and provides positioning recommendations.
curiositech/some_claude_skills
Build production CI/CD pipelines with GitHub Actions. An agent skill from curiositech/some_claude_skills.
curiositech/some_claude_skills
Build production computer vision pipelines for object detection, tracking, and video analysis.
curiositech/some_claude_skills
Long-running design anthropologist that builds comprehensive visual databases from 500-1000 real-world examples, extracting color palettes, typography patterns, layout systems, and interaction…
Works with
Categories
Creates Claude subagents equipped with curated skills for solving problems within DAG workflows. Skillful Subagent Creator is an agent skill from curiositech/some_claude_skills. Creates Claude subagents equipped with curated skills for solving problems within DAG workflows.
Skillful Subagent Creator fits situations like: designing a specialist subagent; selecting skills for a subagent; writing the 4-section subagent prompt; wiring subagents into orchestration DAGs.
Run `npx skills add curiositech/some_claude_skills --skill skillful-subagent-creator -a claude-code`. Or copy the skill folder (.claude/skills/skillful-subagent-creator in curiositech/some_claude_skills) into .claude/skills/skillful-subagent-creator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add curiositech/some_claude_skills --skill skillful-subagent-creator -a codex`. Or copy the skill folder (.claude/skills/skillful-subagent-creator in curiositech/some_claude_skills) into .agents/skills/skillful-subagent-creator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add curiositech/some_claude_skills --skill skillful-subagent-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skillful-subagent-creator, .gemini/skills/skillful-subagent-creator, .github/skills/skillful-subagent-creator and .opencode/skills/skillful-subagent-creator in your project.
SKILL.md names no scripts, command-line tools or credentials: Skillful Subagent Creator is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Skillful Subagent Creator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Skillful Subagent Creator: Migrating Mastra To Pydantic AI (pydantic/pydantic-ai, 20k stars), Migrating Vercel AI SDK And Eve To Pydantic AI (pydantic/pydantic-ai, 20k stars), Deep Agents Orchestration (langchain-ai/langchain-skills, 1.3k stars) and Golem Parallel Workers TS (golemcloud/golem, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
curiositech (a GitHub organization) maintains it in curiositech/some_claude_skills, which has 243 GitHub stars. The repository holds 109 skills in this directory. The repository was last updated on September 6, 2026.
Source: curiositech/some_claude_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.