adopt-codexicon

adopt-codexicon is a skill for Claude Code, Codex from bnet47/codexicon. It costs 28 tokens per session (453 once invoked), scanned A, original, MIT.

A repository tool for adopting or updating Codexicon, a set of project guidance and automation files, in an existing codebase. It inspects local files first and preserves existing project content.

In plain words
What is it for?
It compares a repository with a trusted Codexicon source, reports conflicts and missing files, applies an authorized adoption, records file baselines, and updates declared executable permissions.
Why use it?
Adding shared project files can overwrite local commands or hide conflicts. This tool shows what would change and copies only approved missing or managed files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/codexicon.py inspect TARGET.

Good fit It compares a repository with a trusted Codexicon source, reports conflicts and missing files, applies an authorized adoption, records file baselines, and updates declared executable permissions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/bnet47/codexicon
agentmods
npx agentmods add skills/bnet47/codexicon/adopt-codexicon

Made for: Claude Code, Codex.

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 adopt-codexicon

README.md
[![agentmods](https://agentmods.dev/badge/skills/bnet47/codexicon/adopt-codexicon/github.svg)](https://agentmods.dev/skills/bnet47/codexicon/adopt-codexicon)
Your own site
<a href="https://agentmods.dev/skills/bnet47/codexicon/adopt-codexicon"><img src="https://agentmods.dev/badge/skills/bnet47/codexicon/adopt-codexicon/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 adopt-codexicon

Your own site · 80×15
<a href="https://agentmods.dev/skills/bnet47/codexicon/adopt-codexicon"><img src="https://agentmods.dev/badge/skills/bnet47/codexicon/adopt-codexicon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 453 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.
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.00028 $0.00453
Opus 5.5 $0.00011 $0.00181
Sonnet 5.5 $0.00006 $0.00091
Haiku 4.5 $0.00003 $0.00045

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

Security

Grade A, and why

adopt-codexicon 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/adopt-codexicon/SKILL.md · 46 lines

What it actually says

Adopt or update Codexicon

Use the repository-local manager from a trusted Codexicon source. Keep inspection read-only until the user explicitly authorizes apply.

1. Inspect

Confirm the intended source and target repository roots, then run:

python scripts/codexicon.py inspect TARGET

Report every create, identical, preserve, required-missing, and conflict result. Inspect existing project commands, AGENTS.md, .codex/, skills, CI, Git hooks, and project facts before recommending adoption. Do not treat a missing project-owned file as safe to synthesize automatically.

2. Adopt

Only after the user authorizes repository writes, run:

python scripts/codexicon.py adopt TARGET --apply

The manager copies only absent managed/merge files, preserves conflicts, records baseline hashes in .codexicon.lock.json, and returns nonzero while integration work remains. Resolve conflicts deliberately; never replace real project commands with template stubs.

After the user deliberately stages the adopted files, run python TARGET/scripts/codexicon.py sync-git-modes --root TARGET. It changes only manifest-declared executable bits on already-tracked index entries and refuses untracked paths; this is required for Windows-origin adoptions that will be cloned on POSIX.

Run python TARGET/scripts/codexicon.py doctor --root TARGET, then the target's canonical lint, test, and security commands.

3. Update

From an adopted target, inspect a trusted local release source before apply:

python scripts/codexicon.py update --root TARGET --source SOURCE
python scripts/codexicon.py update --root TARGET --source SOURCE --apply

Apply is explicit and offline. Unchanged baseline files may update or retire; locally modified files remain conflicts. Review changed hooks with /hooks because their trust hash changes.

Do not download releases, commit, push, publish, deploy, or modify external systems unless separately authorized.

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 First seen · 46 lines · 28 tokens per session scan A 52617207eabf

Subscribe to this mod's changes

adopt-codexicon is a skill published in the GitHub repository bnet47/codexicon (5 stars, last pushed 20d ago), licensed MIT. It adds 28 tokens to every session and 453 once invoked, about $0.0001 per session on Opus 5.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.