Borrowing it
Nothing to install: this file belongs to joenandez/spectre. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/joenandez/spectre/main/.agents/skills/feature-codex-spectre-implementation/SKILL.mdgit clone --depth 1 https://github.com/joenandez/spectreWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/joenandez/spectre/feature-codex-spectre-implementation)<a href="https://agentmods.dev/skills/joenandez/spectre/feature-codex-spectre-implementation"><img src="https://agentmods.dev/badge/skills/joenandez/spectre/feature-codex-spectre-implementation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/joenandez/spectre/feature-codex-spectre-implementation"><img src="https://agentmods.dev/badge/skills/joenandez/spectre/feature-codex-spectre-implementation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 7 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Agent Snooping · line 98 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 135 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium MCP Rug Pull · line 101 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 116 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 121 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium Agent Snooping · line 126 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 127 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
What 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.1 | $0.00000 | $0.02186 |
| Opus 5.5 | $0.00000 | $0.00874 |
| Sonnet 5.5 | $0.00000 | $0.00437 |
| Haiku 4.5 | $0.00000 | $0.00219 |
Grade A, and why
feature-codex-spectre-implementation 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 1mo ago.
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 — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex SPECTRE Implementation
Trigger: codex, spectre, codex install, sessionstart, agents.override, registry, spectre-learn, spectre-recall, hooks.json, config.toml, doctor Confidence: high Created: 2026-03-30 Updated: 2026-07-19 Version: 5
Current Design
Codex SPECTRE installs the workflow as Codex-native skills, subagent TOML configs, and generated SessionStart hooks. Project knowledge and session continuity are written into managed AGENTS.override.md blocks so hook output stays short.
Reusable project knowledge is both configured as normal skills and injected as a compact trigger registry:
spectre-learnwrites project skills under.agents/skills/{category}-{slug}/SKILL.md.- The recall registry lives at
.agents/skills/spectre-recall/references/registry.toon. spectre-recallis generated as an explicit search/load skill.- Project installs sync
.agents/skills/*/SKILL.mdinto Codex[[skills.config]]. spectre-applycontains a{{REGISTRY}}placeholder that both the hook andsrc/lib/knowledge.jssubstitute before writing the managed knowledge block.bootstrap→handoff-resume→load-knowledgeis the required SessionStart order.
Execute task preparation uses a two-artifact contract:
plugins/spectre/skills/spectre-execute/references/create-tasks.mdwrites{OUT_DIR}/specs/execute.mdplus{OUT_DIR}/specs/tasks.json.execute.mdis the compact primary-agent index (document manifest, task detail source, execution summary, wave plan, parent-task index, slicing rules).tasks.jsonis the full mutable detail/status source (meta+phases[]); primary execution/review/validation consumers should slice it by parent task id instead of reading the whole file.- Do not reintroduce the old
specs/tasks.mdtask-list flow or a Markdown fallback/converter.
Plan Review and Task Review references, plus the Code Review skill, use one cross-runtime contract:
spectre-execute/references/plan-review.mdprefers the opposing CLI with an explicit high-effort model: Codex launches Claude Code with--model claude-opus-5-5 --effort high; Claude Code launches Codex with-m gpt-6-sol -c 'model_reasoning_effort="high"'. The launcher allows each attempt up to 20 minutes, but passes no duration guidance to the reviewer.spectre-execute/references/task-review.mduses a focused medium-effort opposing-runtime contract: Codex launches Claude Code using--model claude-opus-5-5 --effort medium; Claude Code launches Codex using-m gpt-6-sol -c 'model_reasoning_effort="medium"'. The primary agent runs consumer-safety preflight, explicitly launches and monitors the reviewer for up to 20 minutes, validates the report, allows one repair, owns native fallback and write-back, and passes no duration guidance to the reviewer.spectre-code_reviewuses a high-effort opposing-runtime contract: Codex launches Claude Code using--model claude-opus-5-5 --effort high; Claude Code launches Codex using-m gpt-6-sol -c 'model_reasoning_effort="high"'.- If the opposing runtime is unavailable or fails validation after one repair attempt, the gate dispatches one native reviewer with the same manifest, adversarial lenses, severity/evidence rules, exclusions, and report schema. This fallback does not block completion and must record its reason plus runtime/model metadata.
spectre-code_reviewis an adversarial, evidence-gated review for correctness, regressions/integration, security, performance/reliability, overengineering, and test adequacy. It does not use subjective numeric scores.spectre-executedelegates its final cumulative review tospectre-code_review --orchestrated; do not reintroduce a separate final-review prompt inside execute.- Canonical workflow skills live under
plugins/spectre/skills/; regenerateplugins/spectre-codex/and keep regression assertions inscripts/test_sync-codex.cjsaligned with these invariants.
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.
- 1mo ago Changed · +1 lines 670a85376501
- 1mo ago Changed 3fe2a2efa1d5
- 2mo ago First seen · 147 lines · 0 tokens per session scan A 7d47e87e1722
feature-codex-spectre-implementation is a skill published in the GitHub repository joenandez/spectre (164 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,186 tokens. 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-30.
feature-codex-spectre-implementation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| feature-codex-spectre-implementationjoenandez/spectre | Skill | 164 | 1mo ago | MIT | A | 0 | Claude Code |
| imagegenopenai/codex | Skill | 133k | yesterday | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 4d ago | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 313k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 103 | Claude Code |