Agent skill

Feature Codex Spectre Implementation

by joenandez in joenandez/spectre

A skill your agent uses when modifying the Codex SPECTRE install flow, SessionStart continuity, project skill syncing, registry injection, or Codex-specific runtime files.

MITAuto-check passed

Install Feature Codex Spectre Implementation

skills CLI
$ npx skills add joenandez/spectre --skill feature-codex-spectre-implementation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install joenandez/spectre feature-codex-spectre-implementation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/joenandez/spectre.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/feature-codex-spectre-implementation .claude/skills/feature-codex-spectre-implementation && rm -rf skills-src

Use ~/.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/

Facts

Skill name
feature-codex-spectre-implementation
GitHub stars
164
Token cost
~2.2k tokens
SKILL.md length
796 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when modifying the Codex SPECTRE install flow, SessionStart continuity, project skill syncing, registry injection, or Codex-specific runtime files.

  • Works in 6 steps: src/main.js parses install codex,… → installCodex() in src/lib/install.js… → installCodex() removes the fork-era… → …
  • Modifying the Codex SPECTRE install flow
  • SKILL.md covers Current Design, Install Flow, Key Files and Common Tasks, plus 1 more section
  • Calls npm, npx and node

What it does

Feature Codex Spectre Implementation is an agent skill from joenandez/spectre. Use when modifying the Codex SPECTRE install flow, SessionStart continuity, project skill syncing, registry injection, or Codex-specific runtime files. TRIGGER when: codex, spectre, codex install, sessionstart, agents.override, registry, spectre-learn, spectre-recall, hooks.json, config.toml, doctor

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Spectre is a battle-tested 6 stage agentic engineering workflow for building complex, production-ready features. You stay in the loop for the decisions that matter. Your agents…. The licence is MIT.

When your agent uses it

  • Modifying the Codex SPECTRE install flow
  • SessionStart continuity
  • Project skill syncing
  • Registry injection

Example prompts

  • “/feature-codex-spectre-implementation”

Requirements

  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. src/main.js parses install codex, resolves scope, and switches CODEX_HOME to ./.codex for project installs.
  2. installCodex() in src/lib/install.js copies generated Codex assets from plugins/spectre-codex/
  3. installCodex() removes the fork-era sibling runtime and agent tables before writing current [agents.spectre_*] definitions.
  4. ensureSpectreHooksConfigured() enables features.hooks, features.skills, and features.multi_agent, then materializes generated SessionStart…
  5. For project installs, installProjectFiles() creates .spectre/manifest.json, initializes recall files, clears stale managed blocks, and…
  6. On SessionStart, the hooks refresh session and knowledge blocks only when the workspace has the relevant Spectre surface.

What it can do on your machine

Read from SKILL.md and the folder at commit 931c9e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • npx
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Feature Codex Spectre Implementation loads about 2.2k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 796 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from joenandez/spectre at commit 931c9e8, republished under its MIT licence (© joenandez). 796 words, ~2,196 tokens.

Download SKILL.mdSave it as .claude/skills/feature-codex-spectre-implementation/SKILL.md (or your agent's skills folder).
name
feature-codex-spectre-implementation
description
Use when modifying the Codex SPECTRE install flow, SessionStart continuity, project skill syncing, registry injection, or Codex-specific runtime files. TRIGGER when: codex, spectre, codex install, sessionstart, agents.override, registry, spectre-learn, spectre-recall, hooks.json, config.toml, doctor
user-invocable
false

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.

Install Flow

  1. src/main.js parses install codex, resolves scope, and switches CODEX_HOME to ./.codex for project installs.
  2. installCodex() in src/lib/install.js copies generated Codex assets from plugins/spectre-codex/:
    • workflow skills into CODEX_HOME/skills/
    • agent TOML configs into CODEX_HOME/spectre/agents/
    • generated hooks into CODEX_HOME/spectre/hooks/
    • runtime helper scripts into CODEX_HOME/spectre/tools/
  3. installCodex() removes the fork-era sibling runtime and agent tables before writing current [agents.spectre_*] definitions.
  4. ensureSpectreHooksConfigured() enables features.hooks, features.skills, and features.multi_agent, then materializes generated SessionStart commands into CODEX_HOME/hooks.json without clobbering unrelated handlers.
  5. For project installs, installProjectFiles() creates .spectre/manifest.json, initializes recall files, clears stale managed blocks, and calls syncProjectSkillsConfigured().
  6. On SessionStart, the hooks refresh session and knowledge blocks only when the workspace has the relevant Spectre surface.
Show full SKILL.md (276 more words)Show less

Key Files

  • plugins/spectre/skills/ Canonical Claude/Codex-compatible workflow skill sources.
  • plugins/spectre-codex/ Generated Codex bundle. Regenerate with npm run sync-codex -- --quiet.
  • src/lib/install.js Main installer/uninstaller.
  • src/lib/config.js Owns config.toml, hooks.json, agent tables, and project skill sync.
  • src/lib/project.js Owns .spectre/manifest.json, handoff lookup, managed override blocks, and legacy cleanup.
  • src/lib/knowledge.js Owns recall generation and Codex-side {{REGISTRY}} substitution.
  • src/lib/doctor.js Verifies installed runtime/config state and reports stale hook remnants.

Common Tasks

Add or change a workflow skill
  1. Edit plugins/spectre/skills/spectre-*/SKILL.md.
  2. Run:
    bash
    npm run sync-codex -- --quiet
    npm run sync-codex -- --check --quiet
  3. Run focused tests when installer or translator behavior changed:
    bash
    node --test src/install.test.js src/config.test.js scripts/test_sync-codex.cjs
  4. If changing Execute's create-tasks reference or its task fixtures, also validate both task fixtures parse:
    bash
    node -e "JSON.parse(require('fs').readFileSync('plugins/spectre/skills/spectre-execute/references/create-tasks/tasks.example.json','utf8'))"
Add a learned project skill and make sure Codex sees it
  1. Write the skill under .agents/skills/{category}-{slug}/SKILL.md.
  2. Register it in .agents/skills/spectre-recall/references/registry.toon.
  3. Regenerate .agents/skills/spectre-recall/SKILL.md.
  4. Refresh project install state:
    bash
    npx @codename_inc/spectre update codex --scope project --project-dir "$PWD"
Debug why a project skill is not being used

Check, in order:

  1. The skill exists at .agents/skills/{name}/SKILL.md.
  2. Its frontmatter description contains concrete trigger language.
  3. config.toml contains a [[skills.config]] entry for the skill path.
  4. If explicit search is needed, the registry entry exists in .agents/skills/spectre-recall/references/registry.toon.
  5. hooks.json contains SessionStart commands for bootstrap.mjs, handoff-resume.mjs, and load-knowledge.mjs.
  6. AGENTS.override.md contains an inlined registry and no raw {{REGISTRY}}.
  7. Run:
    bash
    npx @codename_inc/spectre doctor codex --scope project

Expected Install Artifacts

After npx @codename_inc/spectre install codex --scope project, expect files like:

text
.codex/config.toml
.codex/hooks.json
.codex/skills/spectre-apply/SKILL.md
.codex/skills/spectre-plan/SKILL.md
.codex/skills/spectre-execute/references/proof.md
.codex/spectre/hooks/hooks.json
.codex/spectre/hooks/scripts/bootstrap.mjs
.codex/spectre/hooks/scripts/handoff-resume.mjs
.codex/spectre/hooks/scripts/load-knowledge.mjs
.codex/spectre/hooks/scripts/register_learning.mjs
.codex/spectre/agents/dev.toml
.spectre/manifest.json
.agents/skills/spectre-recall/SKILL.md
.agents/skills/spectre-recall/references/registry.toon

Do not reintroduce:

  • spectre-guide
  • spectre-evaluate
  • spectre-architecture_review
  • fork-name CLI aliases or duplicate runtime trees
  • raw {{REGISTRY}} in generated or installed context
  • startup payloads in additionalContext; use managed AGENTS.override.md blocks

© joenandez, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/feature-codex-spectre-implementation of joenandez/spectre.

Open the folder on GitHubat commit 931c9e8

Compare with similar skills

Feature Codex Spectre Implementation 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.

Feature Codex Spectre Implementation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Feature Codex Spectre Implementation this skilljoenandez/spectre164—~2.2kAutomated safety check: PassMIT
Continuetelegramdesktop/tdesktop33k2 repos~9.4kAutomated safety check: PassGPL-3.0
Continuous Learningaffaan-m/ECC275k—~1.1kAutomated safety check: PassMIT
Continuous Learningaffaan-m/ECC275k—~1.2kAutomated safety check: PassMIT
Continuityparcadei/Continuous-Claude-v33.9k1 repos~292Automated safety check: NotesMIT
Continueudecode/plate17k—~2.6kAutomated safety check: PassCustom licence

Similar skills

  • Continue

    telegramdesktop/tdesktop

    Continue autonomous Telegram Desktop development from the shared ai-tdesktop repository.

    33k GitHub starsUsed in 2 repos~9.4k tokens
    Productivity & AutomationAuto-check passed
  • [DEPRECATED - use continuous-learning-v2] Legacy v1 stop-hook skill extractor.

    275k GitHub stars~1.1k tokensUpdated 3 days ago
    Auto-check passed
  • [OBSOLETO - usar continuous-learning-v2] Extractor de skill por hook Stop v1 heredado.

    275k GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Continuity

    parcadei/Continuous-Claude-v3

    Problem-solving strategies for continuity in real analysis. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 1 repo~292 tokens
    Research & ScienceAuto-check: notes
  • Continue

    udecode/plate

    Use after an execution slice to reassess whether the current tactic still serves the user's north star, then keep course, pivot, replan, or stop.

    17k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Continue PR

    ClickHouse/ClickHouse

    Continue work on an existing PR - resolve conflicts, fix CI failures, address reviewer feedback, and push updates.

    50k GitHub stars~5.5k tokensUpdated today
    DevelopmentAuto-check: notes

More from joenandez/spectre

All 26 skills in this repo
  • Verify Spectre

    joenandez/spectre

    A skill your agent uses when validating that the Spectre plugin itself still works after ANY change to this repo — skills, prompts, agents, hooks, the CLI, the Codex mirror, or a release.

    164 GitHub stars~1.5k tokensUpdated 6 days ago
    Auto-check passed
  • Spectre Handoff

    joenandez/spectre

    Save a quiet, branch-keyed session snapshot with continuity, active work, and optional task/todo state for automatic resume.

    164 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed
  • Spectre Learn

    joenandez/spectre

    User-invoked front door for durable capture. An agent skill from joenandez/spectre.

    164 GitHub stars~1k tokensUpdated 6 days ago
    Auto-check passed
  • Spectre Rewrite Skill

    joenandez/spectre

    Rewrite a verbose SPECTRE skill into a compact, contract-form Spectre skill proposal — clear on WHAT, silent on HOW — grounded in the spectre-light distillation and freedom-tier budget.

    164 GitHub stars~3k tokensUpdated 6 days ago
    Auto-check passed
  • Spectre Rewrite Subagent

    joenandez/spectre

    Rewrite Spectre subagent definitions into compact, contract-driven agents with clear routing, least-privilege tools, output schemas, and an auditable rewrite trail.

    164 GitHub stars~1.8k tokensUpdated 6 days ago
    Auto-check passed
  • Spectre Capture

    joenandez/spectre

    Capture durable project decisions, accepted corrections, verified reusable patterns or gotchas, disproved guidance, and changed persistent blockers as soon as they matter.

    164 GitHub stars~1.2k tokensUpdated 6 days ago
    Auto-check passed

Questions about Feature Codex Spectre Implementation

What does Feature Codex Spectre Implementation do?

A skill your agent uses when modifying the Codex SPECTRE install flow, SessionStart continuity, project skill syncing, registry injection, or Codex-specific runtime files. Feature Codex Spectre Implementation is an agent skill from joenandez/spectre. Use when modifying the Codex SPECTRE install flow, SessionStart continuity, project skill syncing, registry injection, or Codex-specific runtime files.

When should I use Feature Codex Spectre Implementation?

Feature Codex Spectre Implementation fits situations like: modifying the Codex SPECTRE install flow; sessionStart continuity; project skill syncing; registry injection.

How do I install Feature Codex Spectre Implementation in Claude Code?

Run `npx skills add joenandez/spectre --skill feature-codex-spectre-implementation -a claude-code`. Or copy the skill folder (.agents/skills/feature-codex-spectre-implementation in joenandez/spectre) into .claude/skills/feature-codex-spectre-implementation in your project. Claude Code loads it when a task matches its description.

How do I install Feature Codex Spectre Implementation in Codex?

Run `npx skills add joenandez/spectre --skill feature-codex-spectre-implementation -a codex`. Or copy the skill folder (.agents/skills/feature-codex-spectre-implementation in joenandez/spectre) into .agents/skills/feature-codex-spectre-implementation in your project. Codex loads it when a task matches its description.

Can I use Feature Codex Spectre Implementation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add joenandez/spectre --skill feature-codex-spectre-implementation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/feature-codex-spectre-implementation, .gemini/skills/feature-codex-spectre-implementation, .github/skills/feature-codex-spectre-implementation and .opencode/skills/feature-codex-spectre-implementation in your project.

What does Feature Codex Spectre Implementation need to run?

Going by SKILL.md and its folder, Feature Codex Spectre Implementation needs the command-line tools its instructions call (npm, npx and node). Our summary lists: Node.js.

Does Feature Codex Spectre Implementation access the network?

SKILL.md contains no URLs. Its commands use npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Feature Codex Spectre Implementation safe to install?

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.

What licence does Feature Codex Spectre Implementation use?

Feature Codex Spectre Implementation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Feature Codex Spectre Implementation use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Feature Codex Spectre Implementation?

Skills that share tags, products or a category with Feature Codex Spectre Implementation: Continue (telegramdesktop/tdesktop, 33k stars), Continuous Learning (affaan-m/ECC, 275k stars), Continuous Learning (affaan-m/ECC, 275k stars) and Continuity (parcadei/Continuous-Claude-v3, 3.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Feature Codex Spectre Implementation?

joenandez (a GitHub user) maintains it in joenandez/spectre, which has 164 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 2, 2026.

Source: joenandez/spectre on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.