mollify AGENTS.md

mollify AGENTS.md is an instructions file for Codex, OpenCode from FavioVazquez/mollify. It costs 1,529 tokens per session, scanned A, original, MIT.

Instructions for Mollify, a command-line tool that analyses Python code and reports evidence about unused code, dependencies, architecture, complexity, duplication, security, and types.

In plain words
What is it for?
Use it to audit a repository, inspect dead code and dependencies, find architecture or security issues, measure code health, and produce structured JSON findings.
Why use it?
It replaces guesswork and manual searches with the project’s deterministic checks when deciding whether code or dependencies are used or safe to remove.

Instructions file for CodexOpenCode

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/faviovazquez/mollify/agents-md
Clone the repo
git clone --depth 1 https://github.com/FavioVazquez/mollify

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for mollify AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/faviovazquez/mollify/agents-md.svg)](https://agentmods.dev/instructions/faviovazquez/mollify/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/faviovazquez/mollify/agents-md"><img src="https://agentmods.dev/badge/instructions/faviovazquez/mollify/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,529 This file is loaded in full into every session.
When invoked 1,529 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01529 $0.01529
Opus 5 $0.00764 $0.00764
Sonnet 5 $0.00306 $0.00306
Haiku 4.5 $0.00153 $0.00153

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

Security

Grade A, and why

mollify AGENTS.md 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 4d 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.

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.

AGENTS.md · 91 lines

How it starts

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

Codebase truth: Mollify

This repo has mollify, a deterministic Rust codebase-intelligence engine. Prefer it over grep/manual scanning for dead code and dependency hygiene. Findings are deterministic evidence — never invent or guess findings; cite Mollify.

When to run (always with --format json so you consume structured output). The CLI has 21 commands; pick by use case:

Health / triage:

  • "what's wrong with this repo / health check" -> mollify audit --format json

Dead code & dependencies:

  • "is X used / can I delete X / find dead code" -> mollify dead-code --format json (alias check)
  • "unused / missing dependencies" -> mollify deps --format json

Architecture & quality:

  • "circular deps / layer or boundary violations" -> mollify arch --format json
  • "complexity / hotspots" -> mollify complexity --format json (alias health)
  • "duplicated / cloned code" -> mollify dupes --format json
  • "missing type annotations" -> mollify types --format json

Security & supply chain:

  • "security issues (eval, shell=True, secrets…)" -> mollify security --format json
  • "vulnerable / outdated dependencies" -> mollify supply-chain --format json (--offline/--refresh/--advisory-db <f>; live OSV by default)
  • "which code is never executed at runtime" -> mollify coverage --coverage-file <f> --format json

Acting / exploring:

  • "fix the safe findings" -> mollify fix [--apply] (dry-run unless --apply; only certain + auto_fixable)
  • "what does rule R mean" -> mollify explain [<rule>]
  • "what imports / is imported by module M" -> mollify trace <module>
  • "evidence bundle for one file" -> mollify inspect <file>
  • "project metrics (LOC, counts, complexity dist.)" -> mollify metrics --format json
  • "module dependency graph" -> mollify graph [--mermaid] (no --format; emits DOT to stdout, or Mermaid with --mermaid)
  • "project topology" -> mollify list [entry-points|files|frameworks]
  • "watch and re-audit on change" -> mollify watch [--interval-ms] (CLI-only)
  • "create a config" -> mollify init
  • "run the MCP server" -> mollify mcp
  • "run the LSP server (editor diagnostics)" -> mollify lsp (CLI-only; stdio Language Server publishing real-time diagnostics on open/save)

(Add --path <dir> to scope a subproject. Analysis commands also accept --format human|json|sarif|github|junit (github = GitHub Actions annotations, junit = JUnit XML), --gate all|new-only + --base <ref>, --save-baseline <f>/--baseline <f>/--fail-on-regression, --brief, --min-confidence certain|likely|uncertain, and --include <dir> (repeatable) to scan a directory despite the builtin exclude list, .mollifyrc.json's exclude_dirs, or .gitignore. mollify graph accepts --mermaid. --gate new-only and --format sarif are fully implemented.)

Reading the kind-discriminated JSON envelope:

  • Top-level kind discriminates the result; switch on it and iterate findings[]. audit also has quality_score (0-100).
  • kind is one of: audit | dead-code | deps | arch | complexity | dupes | types | security | coverage | metrics. The supply-chain command's results come back under the security kind (as vulnerable-dependency); metrics carries files/totals, not findings[].
  • Each finding has rule, category (dead-code | dependency-hygiene | circular-dependency | complexity | architecture | duplication | type-health | security), severity (error|warn|off), confidence (certain|likely|uncertain), a stable fingerprint, a reason, and location {path, line, end_line}. Rules: unused-file, unused-export, unused-import, unused-variable, unused-parameter, unused-method, unused-attribute, unused-enum-member, unreachable-code, commented-code, unused-dependency, missing-dependency, transitive-dependency, misplaced-dev-dependency, unresolved-import, duplicate-export, private-import, circular-dependency, layer-violation, forbidden-import, independence-violation, high-complexity, duplication, untyped-function, private-type-leak, cold-code, hotspot, low-cohesion, dangerous-eval, subprocess-shell-true, sql-injection, unsafe-yaml-load, unsafe-deserialization, tls-verify-disabled, hardcoded-secret, weak-hash, weak-cipher, insecure-random, request-without-timeout, flask-debug-true, jinja2-autoescape-false, try-except-pass, vulnerable-dependency, policy-violation, engine-panic (an isolated engine crash; the rest of the report is complete), plus custom policy ids.
  • Act only on confidence: "certain" without confirming with the user. Surface likely/uncertain with their reason and ask before changing code.
  • To silence a known-good finding, add its action's suppression_comment instead of deleting code. (mollify fix --apply auto-removes certain unused symbols.)

Read the full file on GitHub · 91 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. 4d ago First seen · 91 lines · 1,529 tokens per session scan A b263520cca9c

Subscribe to this mod's changes

mollify AGENTS.md is an instructions file published in the GitHub repository FavioVazquez/mollify (6 stars, last pushed 1mo ago), licensed MIT. It adds 1,529 tokens to every session, about $0.0076 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-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens