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`
6 personas × 6 styles = 36 validated 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.

### defending-applications

Web/API/GraphQL hardening, OAuth/OIDC/JWT/Session, LLM AppSec (prompt injection, RAG poisoning, agent authz). 785 lines.

785 lines

### securing-cloud-and-supply-chain

Container escape defense, K8s RBAC/PSS/NetworkPolicy, SLSA/Sigstore/SBOM, cloud IAM, IaC security. 1246 lines.

1246 lines

### detecting-and-responding

Sigma/YARA rule writing, EDR primitives, NIST 800-61 IR, forensics (Win/Linux/Mac/Cloud), threat hunting. 942 lines.

942 lines

### architecting-security

STRIDE/PASTA/LINDDUN threat modeling, zero-trust identity (WebAuthn, Kerberos, PAM JIT), SOC2/PCI/HIPAA/GDPR. 1100 lines.

1100 lines
Browse on GitHub
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: Go 99.3% TypeScript 98.8% Python 98.7% Rust 98.5%
abyss CLI on GitHub
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.

### cultivating-skills

Distill repeated workflows into reusable skills. Scaffold, lint, scan, improve, promote across L0/L1/L2 tiers. Default-deny on dangerous tools, prompt injection, hardcoded secrets.

skill_forge.js

### cultivating-personas

Distill voice, emotional anchors, and scenario scripts into a Tech Persona Card v1.0. Reuses the existing submit portal — three legal/platform/content red lines enforced.

persona_forge.js
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
Read the Spec JSON Schema
{ "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`