Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/pronskiy/php-src-developer/idea-prototypenpx skills add pronskiy/php-src-developer --skill idea-prototypegit clone --depth 1 https://github.com/pronskiy/php-src-developerWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00129 | $0.05047 |
| Opus 5 | $0.00064 | $0.02524 |
| Sonnet 5 | $0.00026 | $0.01009 |
| Haiku 4.5 | $0.00013 | $0.00505 |
Grade A, and why
idea-prototype scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 303 lines — stays where its author put it; the contents beside it link to each section on GitHub.
idea-prototype
Single skill that drives a php-src idea prototype from a one-liner to a verdict. Like the bug flow, it's phased and resumable; unlike the bug flow, one skill owns all phases. Each invocation advances one phase forward (or resumes a blocked phase).
Inputs
- A one-line hypothesis (required on first run only) — e.g. "caching common
zend_stringparameter names could speed up function calls", "adding pattern syntax X would simplify Y", "replacing the linear scan inzend_hash_str_findwith sorted lookup helps tiny tables". $PHP_SRC_DIRwith builtsapi/cli/php.- SPEC.md in the task directory (resolved per
_shared/task-dir.md) — created on the first run, read on subsequent runs.
What it produces
SPEC.md(type: idea) in the task directory resolved per_shared/task-dir.md(default$PHP_SRC_DIR/.claude/php-core-dev/idea-<slug>/SPEC.md). Tracks the hypothesis end to end.- Prototype C-code changes under
$PHP_SRC_DIR— explicitly throwaway, not production-ready. - Benchmark scripts and/or
.phptexamples demonstrating the idea. - A
pursue-as-rfc/reframe/killverdict in the final phase.
Phases owned
| # | Phase | Post-guardrail |
|---|---|---|
| 1 | Context | Hypothesis restated in own words; subsystem identified |
| 2 | Hypothesis & Metric | Success metric is concrete and falsifiable |
| 3 | Research | At least one prior-art source ran (owned by /research, hard-gated for idea flow) |
| 4 | Survey & Plan | Smallest viable prototype change identified |
| 5 | Prototype | make -j$(nproc) exits 0 with the patch applied; build is clean |
| 6 | Measurement & Verdict | Numbers (or examples) recorded; honest verdict written |
This skill owns all six phases except Research, which is owned by /research. On each invocation /idea-prototype picks up the first non-done phase and advances it; when the next phase is Research it refuses and instructs the user to run /research (or to mark the phase skipped in SPEC.md with a reason). Research is hard-gated for the idea flow — Survey & Plan will not start until Research is done or skipped. This differs from the bug flow, which soft-warns and proceeds.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 303 lines · 129 tokens per session scan A cde8b2627aa7
idea-prototype is a skill published in the GitHub repository pronskiy/php-src-developer (8 stars, last pushed 3mo ago), licensed MIT. It adds 129 tokens to every session and 5,047 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…