dsb-117/brainblast/codex-skill
Claude Code and agent skill by dsb-117/brainblast
- community
Checking that the SKILL.md file is still in the repository.
Research external APIs and SDKs before coding. Identifies every external component in a requirements file, browses official sources, and produces a structured handoff report with facts, risks, and answered questions.
Install
npx vskill@latest install dsb-117/brainblast/codex-skillSKILL.md
Brainblast
Research every external component in a requirements file before an agent starts coding. Produces .agent-research/runs/YYYYMMDD-HHMMSS/ with per-component notes and a final handoff report.
Incremental runs (caching). Research is cached per component, keyed byname@version, in.agent-research/cache/. A re-run reuses cached components whose version is unchanged andre-researches only what changed. Components with no resolvable version are always re-researched.Pass--fresh(or setBRAINBLAST_FRESH=1) to ignore the cache. The cache is documentation onlyand safe to delete.
Preamble (run first)
CI mode + gate. In --ci mode (_CI=1, or BRAINBLAST_CI=1) run non-interactively: never ask a question or wait. On multiple requirement-file matches, pick the highest-precedence one deterministically (requirements > prd > spec > brief > rfc > product > design-doc > overview > scope > functional, then lexicographic) and say which; if none, stop BLOCKED and write no report.json. Don't prompt for inventory confirmation. The pipeline's exit code comes from the deterministic gate scripts/brainblast-gate.sh (Brainblast repo), which fails when a risk at/above --fail-on (default critical) remains or the verdict is blocked; state PASS/FAIL yourself after writing the report.
If BROWSE_MISSING: tell the user Brainblast requires gstack for Codex. Run: git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.codex/skills/gstack && cd ~/.codex/skills/gstack && ./setup --host codex Do not proceed without browse.
Set $B and $_RUN_DIR from preamble output. Use them throughout.
Step 0 — Locate requirements
Args: If invoked with a file path (e.g. brainblast prd.md), use it directly. Ignore control tokens (--fresh, --ci, --fail-on=…) when resolving the path — they are flags, not filenames. (See CI mode in the preamble for --ci behavior.)
Otherwise, auto-detect:
Decision rules:
- Exactly one file found → use it, tell the user which file was picked
- Multiple files found → output the list and ask the user to reply with the correct file before continuing
- Nothing found → list any
.mdfiles in the project root, ask the user which to use; if none, ask the user to create a spec file or pass a path
Save a copy to $_RUN_DIR/requirements.md.
Step 1 — Component inventory
Read the requirements. Identify every external system involved:
- REST APIs and GraphQL endpoints
- SDKs and client libraries (any language)
- Authentication providers (OAuth, API keys, JWT issuers)
- Databases (if a specific managed service or third-party DB is named)
- Payment processors
- Messaging and queueing services
- Cloud platforms and deployment targets
- Storage services
- Blockchain networks and on-chain programs
- Third-party analytics, monitoring, or logging services
- Any named external protocol or standard with a versioned spec
Do not include: generic language features, the standard library, or internal modules.
For each component: Name, Type (API / SDK / Auth / Database / Infra / Blockchain / Other), Version, Role (one sentence), Confidence (High = explicitly named / Medium = strongly implied / Low = inferred).
Resolve the version (it keys the cache in Step 3): exact pinned version from a repo lockfile (package-lock.json, poetry.lock, Cargo.lock, go.mod, …) if present; else the latest version number on the package registry; else an API version string (dated version, v2 path, version header); else unversioned.
Write to $_RUN_DIR/component-inventory.md:
Output the inventory to the user. If corrections are needed, wait for a reply before continuing. If no reply is possible, proceed and note the inventory as an assumption.
Step 2 — Research plan
For each component, list exact URLs to check:
- Any: official docs homepage, changelog
- SDK/library: package registry (npm, PyPI, crates.io…), GitHub releases
- API: auth docs, rate limits page, versioning/migration guide
- Auth provider: OAuth flow docs, token expiry and refresh docs
- Blockchain: program ID page, mainnet vs devnet availability
- Cloud/infra: pricing page (for quota limits), region constraints
Write to $_RUN_DIR/research-plan.md.
Step 3 — Research (one component at a time)
For each component, check the cache first — only browse on a miss.
3·0 — Cache check (incremental runs)
Build a filename-safe key from name@version:
_FRESH=1, or$verisunversioned→ MISS (re-research; overwrite cache on a versioned miss).$_cache_fileexists → HIT:cp "$_cache_file" "$_RUN_DIR/components/$slug.md", tell the user it was reused (with thefetcheddate from the file's<!-- BRAINBLAST:CACHE -->header), and skip 3a–3d.- Otherwise → MISS: browse it fresh below.
Record the disposition (HIT / MISS-new / MISS-changed / MISS-fresh / MISS-unversioned) for the report and summary. This is how only what changed gets re-researched: an unchanged name@version is reused; a bumped version or new component is a new key.
3a — Browse (cache MISS only)
Check [domain]/llms.txt first if it exists — it indexes all doc pages. Then browse auth, core workflow, rate limits, SDK install/version, breaking changes, and migration notes.
Use $B goto URL and $B text to fetch and read pages.
3b — Extract
Facts — from official docs, each with a source URL. Assumptions — likely true but not explicitly stated. Inferences — derived from facts; note which facts they follow from. Risks — CRITICAL / HIGH / MEDIUM / LOW. CRITICAL = failure is invisible until too late (zero-revenue config, immutable wrong choice, deprecated endpoint that still accepts requests).
3c — Answer every question
For each question that surfaces: browse to answer it before recording it. If unanswerable after 2 sources: record as "Unresolvable from public sources — [where you looked]".
3d — Write component file
Write to $_RUN_DIR/components/[slug].md:
Then, unless $ver is unversioned, write the cache file so the next run can reuse it:
Tell the user when each component is done: one line — "Done: [name] — [key fact or risk]".
Step 4 — Coverage review
For each component, verify the notes cover: auth method, install command and version, rate limits, breaking changes in the last 12 months, at least one risk. Address gaps before continuing.
Write to $_RUN_DIR/coverage-review.md.
Step 5 — Requirements re-review
Re-read the original requirements with everything learned. Flag:
- Missing constraints — things assumed but not stated
- Wrong assumptions — things implied that are not true
- Underspecified decisions — choices the implementer will face that are not covered
- Immutable choices — things that cannot be changed after deploy that are not mentioned
- Sound — requirements confirmed correct
Write to $_RUN_DIR/requirements-rereview.md.
Step 6 — Final report
Write $_RUN_DIR/final-report.md:
Step 6b — Machine-readable report (report.json)
Also write $_RUN_DIR/report.json — the same findings as structured data for tools and CI gates. Stable, versioned contract (schemaVersion: "1.0"; schema at schema/report.schema.json in the Brainblast repo). All enums lowercase: verdict ∈ ready|caution|blocked; severity ∈ critical|high|medium|low; component status ∈ fresh|cached|partial|not_found (use cached for Step-3 HITs); type ∈ API|SDK|Auth|Database|Infra|Blockchain|Other.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingadapters/codex-skill/SKILL.md
Popularity
- Repository stars
- 93
- Repository forks
- 2
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dsb-117/brainblast/codex-skill)