install

A command that installs Dark Flow, a project toolkit, in either a new or existing project. It supports previewing changes, accepting defaults, enabling optional modules, and reapplying templates.

In plain words
What is it for?
Use it to install or update Dark Flow, review available and stale project commands, and remove confirmed leftovers.
Why use it?
It reduces the manual work of setting up or updating Dark Flow and can show changes before applying them. It also checks for local commands that are no longer part of the current version.

Command for Claude Code

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 commands/alifanov/darkflow/install
Clone the repo
git clone --depth 1 https://github.com/alifanov/darkflow

Made for: Claude Code.

Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 339 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00015 $0.00339
Opus 5 $0.00008 $0.00169
Sonnet 5 $0.00003 $0.00068
Haiku 4.5 $0.00002 $0.00034

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

Security

Grade A, and why

install scanned grade A 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

bash <(curl -fsSL https://raw.githubusercontent.com/alifanov/darkflow/main/install.sh)
templates/.claude/commands/darkflow/install.md · 30 lines

What it actually says

Run the Dark Flow installer — works for fresh projects and existing ones alike:

bash <(curl -fsSL https://raw.githubusercontent.com/alifanov/darkflow/main/install.sh)

Options:

  • --all — enable all optional modules non-interactively
  • -y / --yes — accept defaults with no prompts
  • --dry-run — preview changes without applying
  • --force — re-apply all templates, skip version check

After the installer finishes, read .darkflow.d/state/config.json if it exists and extract language (default: English) — use it for all user-facing messages below.

Check for stale slash commands that are no longer part of Dark Flow:

  1. Fetch the current canonical command list from the Dark Flow repo:
    curl -fsSL https://api.github.com/repos/alifanov/darkflow/contents/templates/.claude/commands/darkflow \
      | grep '"name"' | grep '\.md"' | sed 's/.*"name": "\(.*\)".*/\1/'
    
  2. List all files currently in .claude/commands/darkflow/ (relative to the project root).
  3. If there are any local files not in the canonical list, show them to the user and ask whether to delete them (they are likely leftovers from an older Dark Flow version).
  4. Delete only the files the user confirms.
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 · 30 lines · 15 tokens per session scan A 24e554f81ca2

Subscribe to this mod's changes

install is a command published in the GitHub repository alifanov/darkflow (2 stars, last pushed 3d ago), licensed MIT. It adds 15 tokens to every session and 339 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.