Borrowing it
Nothing to install: this file belongs to Lancetnik/slop-writer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Lancetnik/slop-writer/main/CLAUDE.mdgit clone --depth 1 https://github.com/Lancetnik/slop-writerWrote 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/instructions/lancetnik/slop-writer/claude-md)<a href="https://agentmods.dev/instructions/lancetnik/slop-writer/claude-md"><img src="https://agentmods.dev/badge/instructions/lancetnik/slop-writer/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/lancetnik/slop-writer/claude-md"><img src="https://agentmods.dev/badge/instructions/lancetnik/slop-writer/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.02963 | $0.02963 |
| Opus 5 | $0.01482 | $0.01482 |
| Sonnet 5 | $0.00593 | $0.00593 |
| Haiku 4.5 | $0.00296 | $0.00296 |
Grade A, and why
slop-writer CLAUDE.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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tg-scraper / slop-writer
A Claude Code skill plus an MCP server that analyze a Telegram channel and
can queue a post to it. The eleven MCP tools are the whole agent-facing
surface; the skill under skills/slop-writer/ says which tool answers which
question and what the numbers mean. Published to PyPI as slop-writer; two
install channels (slop-writer install, npx skills@latest add …) serve that
same skill directory, and one version covers package and skill.
Rationale for a decision lives in docs/adr/; vocabulary in CONTEXT.md;
structure (what calls what, where a symbol is) in codegraph.
Commands
uv run pytest— the suite, from the repo root.uvinstalls the project editable, so it exercises the working tree.uv run tools/check_schema_doc.py— dev-only drift guard; run after editingSCHEMAorreferences/schema.md. CI runs it as its own step.uv run --with-editable . tools/tg_*.py— the dev CLIs against the tree.slop-writer(the shipped console script):installwires this project's Claude Code config,uninstallremoves exactly what it wrote,serve --mcpruns the server over stdio,initwrites Telegram credentials and logs in.initneeds a TTY for the SMS code — the user runs it, not the agent.
Library rules (src/slop_writer/)
- The domain raises, the entrypoint reports. Nothing under
src/slop_writer/prints an error or exits: it raisesSlopWriterError(UsageErrorfor exit 2) andcli.pyorserver.pydecides how to report. That is what lets the server call the same function and build JSON instead. errors.ERROR_CODESis a closed vocabulary, enforced at construction. Reuse a code; adding one is a deliberate edit with a raise site.- A message or a hint names an argument or an operation, never a surface —
the same string reaches a human at stderr and a model at a tool result, and
only one of them has a flag or a script.
tests/test_errors.pyscans every literal statically over the modulesserver.pycan reach. When the surface genuinely differs, the caller supplies the noun (prepare_schedule( body_source=…)) or the boundary swaps the hint (server._SETUP_HINT). - The domain uses a client, the entrypoint owns it. Scrape and scan paths
come in twins:
X_with_client(client, …)does the work,X(…, session_file)wraps it in onechannel_session. A new command adds both forms. resolve_peerruns before anyopen_db—open_dblives inside thechannel_sessionbody (for the group scan, insidescan_group_with_clientafterresolve_group_target). A typo then fails on the handle instead of leaving a stray empty.tg-analytic/<typo>.db, and zero posts always means an empty window.- Renderers return a string.
render.pytakes plain dicts and returns Markdown — no Telethon or SQLite types, and noprint: on a stdio server stdout is the JSON-RPC transport. The domain returns the result shape (ScrapeResult,GroupScanResult, …); the entrypoint callssummarize_*. db.py,errors.pyandquery.pystay stdlib-only — a query stays answerable without a Telegram client.publish.pyis the write surface (adr/0003); nothing on a read path imports it, which is whyscheduled.pyis separate.MESSAGE_TOO_LONGcomes from the network, by design — the cap depends on the account, so_too_longtranslates Telethon's error rather than measuring the body.- A refusal is not an absence.
CANNOT_RESOLVEmeans the handle names nothing,NOT_A_MEMBERmeans Telegram confirmed the peer and refused this account — one is fixed by correcting the handle, the other by joining. Every new Telethon call that can refuse classifies the two. cli.pyis argparse, so an installed server carries no CLI framework; typer stays atools/script dependency..tg-analytic/is runtime state at the project root (gitignored):.env,session.session, one<channel>.dbper channel,media/. Entrypoints anchor it on the cwd (--projectoverrides); the library never reads the cwd.
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.
- 9d ago First seen · 189 lines · 2,963 tokens per session scan A cbd6c251d704
slop-writer CLAUDE.md is an instructions file published in the GitHub repository Lancetnik/slop-writer (10 stars, last pushed 17d ago), licensed Apache-2.0. It adds 2,963 tokens to every session, about $0.0148 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.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
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.
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).
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).
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.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.