spectre: Skill for Claude Code

.agents/skills/feature-codex-spectre-implementation/SKILL.md

feature-codex-spectre-implementation is a skill for Claude Code from joenandez/spectre. It costs 0 tokens per session (2,186 once invoked), scanned A, original, MIT.

A guide to the Codex SPECTRE installation and startup workflow, including project skill syncing, continuity between sessions, and managed project knowledge files.

In plain words
What is it for?
Use it when modifying SPECTRE installation, startup hooks, skill registration, knowledge recall, configuration, or diagnostic workflows.
Why use it?
It helps keep project-specific instructions and learned knowledge available after installation and across new Codex sessions.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents; mentions Claude Code; reads ~/.codex paths.

This is joenandez/spectre's own configuration. It tells Claude Code how to work on spectre itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spectre configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/joenandez/spectre/main/.agents/skills/feature-codex-spectre-implementation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/joenandez/spectre

Made for: Claude Code.

Wrote 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.

agentmods badge for feature-codex-spectre-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/joenandez/spectre/feature-codex-spectre-implementation/github.svg)](https://agentmods.dev/skills/joenandez/spectre/feature-codex-spectre-implementation)
Your own site
<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.

agentmods 80×15 button for feature-codex-spectre-implementation

Your own site · 80×15
<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>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,186 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 670a85376501, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.agents/skills/feature-codex-spectre-implementation/SKILL.md · 148 lines

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-learn writes project skills under .agents/skills/{category}-{slug}/SKILL.md.
  • The recall registry lives at .agents/skills/spectre-recall/references/registry.toon.
  • spectre-recall is generated as an explicit search/load skill.
  • Project installs sync .agents/skills/*/SKILL.md into Codex [[skills.config]].
  • spectre-apply contains a {{REGISTRY}} placeholder that both the hook and src/lib/knowledge.js substitute before writing the managed knowledge block.
  • bootstrap → handoff-resume → load-knowledge is the required SessionStart order.

Execute task preparation uses a two-artifact contract:

  • plugins/spectre/skills/spectre-execute/references/create-tasks.md writes {OUT_DIR}/specs/execute.md plus {OUT_DIR}/specs/tasks.json.
  • execute.md is the compact primary-agent index (document manifest, task detail source, execution summary, wave plan, parent-task index, slicing rules).
  • tasks.json is 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.md task-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.md prefers 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.md uses 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_review uses 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_review is an adversarial, evidence-gated review for correctness, regressions/integration, security, performance/reliability, overengineering, and test adequacy. It does not use subjective numeric scores.
  • spectre-execute delegates its final cumulative review to spectre-code_review --orchestrated; do not reintroduce a separate final-review prompt inside execute.
  • Canonical workflow skills live under plugins/spectre/skills/; regenerate plugins/spectre-codex/ and keep regression assertions in scripts/test_sync-codex.cjs aligned with these invariants.

Read the full file on GitHub · 148 lines

Changes

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.

  1. 1mo ago Changed · +1 lines 670a85376501
  2. 1mo ago Changed 3fe2a2efa1d5
  3. 2mo ago First seen · 147 lines · 0 tokens per session scan A 7d47e87e1722

Subscribe to this mod's changes

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.

Related

feature-codex-spectre-implementation compared with skills from other repositories

feature-codex-spectre-implementation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
feature-codex-spectre-implementationjoenandez/spectreSkill1641mo agoMITA0Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code