code-abyss CLAUDE.md

Project instructions for Code Abyss, an npm package that installs configuration and guidance for several coding-agent tools.

In plain words
What is it for?
Use them when developing, testing, verifying, or installing Code Abyss for Claude Code, Codex CLI, Gemini CLI, or OpenClaw.
Why use it?
They document the project's commands, checks, installation targets, and development conventions in one place.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/telagod/code-abyss/claude-md
Clone the repo
git clone --depth 1 https://github.com/telagod/code-abyss
Per session 5,156 This file is loaded in full into every session.
When invoked 5,156 The same file — it is already loaded in full.
Security scan B 1 finding. Scan, not verified.
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 $0.05156 $0.05156
Opus 5 $0.02578 $0.02578
Sonnet 5 $0.01031 $0.01031
Haiku 4.5 $0.00516 $0.00516

Measured 2d ago against content hash 48049f56bda8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

code-abyss CLAUDE.md scanned grade B with 1 finding 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| Codex | `~/.codex/config.toml` | `~/.codex/skills/` | `~/.codex/instruction.md` (persona + style, via `model_instructions_file`) |
CLAUDE.md · 276 lines

How it starts

The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Code Abyss is an npm package that installs persona configuration plus proactive execution guidance into Claude Code, Codex CLI, Gemini CLI, and OpenClaw. It delivers: persona rules, 6 switchable output styles, 30 domain skills, 5 executable verification/generation tools, and a lazily-loaded discipline kernel (9 judgment bundles under skills/_kernel/verify:skills validates 39 total). See Architecture below for how the kernel composes with persona/style.

Commands

npm test                          # Run Jest test suite
npm run verify:skills             # Validate all SKILL.md frontmatter contracts (fail-fast gate)
npm run kernel:sync               # Re-vendor skills/_kernel/ from $MYTHOS_DIR (default ../mythos) — wipes and rebuilds
node bin/install.js --help        # Installer CLI help
node bin/install.js --target claude -y   # Zero-config install to ~/.claude/
node bin/install.js --target codex -y    # Zero-config install to ~/.codex/
node bin/install.js --target gemini -y   # Zero-config install to ~/.gemini/
node bin/install.js --target openclaw -y # Zero-config install to ~/.openclaw/
node bin/install.js --list-styles        # List available output styles

Running individual verify tools directly:

node skills/analyzing-security/scripts/security_scanner.js <path>
node skills/verifying-modules/scripts/module_scanner.js <path>
node skills/analyzing-changes/scripts/change_analyzer.js --mode staged|working
node skills/checking-code-quality/scripts/quality_checker.js <path>
node skills/generating-docs/scripts/doc_generator.js <path>

Running a single test file:

npx jest test/install-registry.test.js --runInBand

Persona behavioral battery (opt-in eval)

scripts/persona-battery/ measures whether an installed persona's responses actually honor kernel precedence (correctness > voice, no capitulation openers, security authorization gates, etc. — skills/_kernel/) across 10 behavioral probes (probes.json). This is a small honest smoke battery, not a calibrated statistical eval (10 cases, not the 50-200+ a rigorous eval needs) — treat results as a spot-check, not a certified score.

Read the full file on GitHub · 276 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. 2d ago First seen · 276 lines · 5,156 tokens per session scan B 48049f56bda8

Subscribe to this mod's changes

code-abyss CLAUDE.md is an instructions file published in the GitHub repository telagod/code-abyss (239 stars, last pushed 1mo ago), licensed MIT. It adds 5,156 tokens to every session, about $0.0258 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.