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.
npx agentmods add commands/sifxprime/kodelyth-ecc/devil-modegit clone --depth 1 https://github.com/sifxprime/kodelyth-eccWrote 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.
[](https://agentmods.dev/commands/sifxprime/kodelyth-ecc/devil-mode)<a href="https://agentmods.dev/commands/sifxprime/kodelyth-ecc/devil-mode"><img src="https://agentmods.dev/badge/commands/sifxprime/kodelyth-ecc/devil-mode.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00039 | $0.01320 |
| Opus 5 | $0.00019 | $0.00660 |
| Sonnet 5 | $0.00008 | $0.00264 |
| Haiku 4.5 | $0.00004 | $0.00132 |
Grade A, and why
devil-mode 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/devil-mode — Adversarial Parallel Sweep
Four red-team specialists attack your codebase from every angle attackers actually use. What would take a security firm a week of billable hours, your repo gets in 20 minutes.
Read the brief first. Each agent thinks like a hostile actor. Findings will be uncomfortable. That's the point.
What Gets Launched in Parallel
| Agent | Hunts |
|---|---|
prompt-injection-hunter |
Jailbreak vectors, indirect injection, system-prompt leaks, tool-call hijacking |
supply-chain-auditor |
Typosquats, malicious post-install, lockfile drift, slopsquats, compromised deps |
secret-hunter |
Live secrets, git history leaks, encoded creds, bundled-to-client env vars |
backdoor-hunter |
Obfuscated payloads, network beacons, time bombs, eval/exec abuse, cryptominers |
Optional Extension Agents
Use these flags to add more agents to the sweep:
| Flag | Adds |
|---|---|
--license |
license-violation-finder (GPL contamination, attribution gaps) |
--theft |
code-stealer-detector (copy-paste provenance, copyleft hits) |
--jailbreak |
jailbreak-tester (live AI feature red-team) |
--chaos |
chaos-engineer (fault-injection plan generation) |
--all |
All 8 agents — the full devil sweep |
Usage
/devil-mode # 4-agent default sweep
/devil-mode --all # all 8 adversarial agents
/devil-mode src/auth/ # focus on auth module
/devil-mode --pre-public # before going open-source: --license + --theft + default
/devil-mode --pre-launch # before public launch: --jailbreak + default + --chaos
Report Format
## DEVIL MODE REPORT
### Prompt Injection Surface (prompt-injection-hunter)
CRITICAL: [list]
HIGH: [list]
DEFENSE GAPS: [where existing protections can be bypassed]
### Supply Chain (supply-chain-auditor)
THREATS: [confirmed malicious / typosquat / drift]
WATCHLIST: [suspicious patterns]
LOCKFILE: [OK / drift / missing]
### Leaked Secrets (secret-hunter)
ACTIVE: [rotate now — still valid]
HISTORICAL: [git history leaks — assume compromised]
BUNDLED: [exposed to every client visit]
### Backdoors / Malicious Code (backdoor-hunter)
CRITICAL: [confirmed reverse-shell / RCE / exfiltration]
SUSPICIOUS: [needs manual decode/review]
---
TOTAL EXPOSURE: X critical, Y high, Z medium across N agents
PRIORITIZED ACTIONS:
1. [first action — usually rotate or revert]
2. [second]
3. [third]
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.
- yesterday First seen · 122 lines · 39 tokens per session scan A 5fcbf3679668
devil-mode is a command published in the GitHub repository sifxprime/kodelyth-ecc (11 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 1,320 once invoked, about $0.0002 per session on Opus 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-09-03.
Other commands, from other repositories
toh-help
Display all Toh Framework commands and quick usage guide.
opsx-new
Start a new change using the experimental artifact workflow (OPSX).
research
Delegate a thorough research investigation to the agy:runner subagent.
experiment
Design A/B test with statistical rigor. Usage: /mindforge:experiment [feature] [--metric conversion|engagement|revenue] [--duration 2w].
kimi-setup
Run node "$HOME/.kimi-plugin/kimi-companion.mjs" setup, then report installation and authentication status.
strategy-cfo
商业战略与财商融合决策专家 — 商业模式 / 资本结构 / 投资决策 / 资源配置 / 估值视角.