v 4.5 — Dynamic Persona Loading

Give your AI agent
a personality.

Composable identity, style, and 30 engineering skills
— including 4 native security domains and a self-evolution forge.

$ npx code-abyss -t claude -y
Runs on Claude Code Codex CLI Gemini CLI OpenClaw
Architecture

Three composable layers

Mix any persona with any style. The behavior rules stay constant.

01 · Identity

Who it is

Role anchoring, personality traits, emotional patterns, scenario scripts. The soul.

config/personas/*.md
02 · Behavior

How it acts

Iron laws, execution chains, proactive protocol. Universal across personas.

config/personas/_shared/*.md
03 · Style

How it sounds

Tone, report skeletons, formatting. Template vars make cross-combo safe.

output-styles/*.md
6personas × 6styles = 36validated combos
Security Spine

Four native security domains

v4 ships 4073 lines of original defense engineering, replacing the Apache-2.0 coff0xc upstream. Builders, blue/purple teams, and architects each get their own dedicated skill.

Code Intelligence

Your agent sees code relationships

The abyss CLI — a Rust-powered code relationship graph that builds in seconds. Call graph, impact analysis, hotspot detection, change coupling. Zero cloud dependencies.

Impact Analysis

See blast radius before you edit. Direct/transitive callers, affected tests, uncovered paths, risk score.

abyss impact

File Context

One command returns all callers, dependencies, hotspot score, and coupled files for any file. No function name needed.

abyss context

Hotspot Map

Churn × complexity = risk. Find the most dangerous files instantly. Git-powered change coupling detects hidden dependencies.

abyss map

Evolution Trace

Why does this code look the way it does? Commit history, coupled files, churn rate — per function, not just per file.

abyss history
Resolution vs SCIP ground truth: Go99.3% TypeScript98.8% Python98.7% Rust98.5%
Self-Evolution

The forge that grows itself

v4.1 adds two meta-skills. The agent watches for repeated workflows and stable voice patterns, then proposes distillation — never silent. Every output passes a default-deny safety scan before landing.

L0 · Local ~/.claude/skills/local/ — explicit invocation only
L1 · Project repo .claude/skills/ — team-shared, warn-blocking
L2 · Community upstream PR — full block + warn enforced
Gallery

Persona presets

Six built-in personas. Community submissions open.

Open Standard

Tech Persona Card v1.0

The first portable format for AI agent persona interchange.
Like Character Card V2, but for engineering workflows.

i.
Structured Voice self / user / language / tone / register
ii.
Capabilities Domains, expertise level, scenarios with trigger/chain/priority
iii.
Scenarios Trigger words → execution chain → priority dimensions
iv.
Portable Convert to/from CharaCard V2 and GPT Instructions
{ "spec": "tech-persona-card", "data": { "name": "my-persona", "voice": { "self": "I", "user": "you", "register": "casual" }, "scenarios": [ ... ] } }
Get Started

One command away

Pick your platform. Code Abyss handles auth detection, config merge, and skill installation.

Claude Code
npx code-abyss -t claude -y
or claude plugin install code-abyss
Codex CLI
npx code-abyss -t codex -y
Gemini CLI
npx code-abyss -t gemini -y
OpenClaw
npx code-abyss -t openclaw -y
Mix freely: --persona elder-sister --style abyss-cultivator
Enable the code-graph engine: --with-abyss or --with-mcp