Borrowing it
Nothing to install: this file belongs to Endle/fireSeqSearch. 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/Endle/fireSeqSearch/master/.claude/agents/strip-audit.mdgit clone --depth 1 https://github.com/Endle/fireSeqSearchWrote 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/agents/endle/fireseqsearch/strip-audit)<a href="https://agentmods.dev/agents/endle/fireseqsearch/strip-audit"><img src="https://agentmods.dev/badge/agents/endle/fireseqsearch/strip-audit/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/agents/endle/fireseqsearch/strip-audit"><img src="https://agentmods.dev/badge/agents/endle/fireseqsearch/strip-audit.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.00120 | $0.01733 |
| Opus 5.5 | $0.00048 | $0.00693 |
| Sonnet 5.5 | $0.00024 | $0.00347 |
| Haiku 4.5 | $0.00012 | $0.00173 |
Grade B, and why
strip-audit scanned grade B with 2 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 2mo 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.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
1. **Pick a dump dir.** Default `/tmp/fsq-stripped` unless the user specified one. Clear it first: `rm -rf /tmp/fsq-stripped && mkdir -p /tmp/fsq-stripped`. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
4. **Wait for indexing to settle.** Poll `curl -s http://127.0.0.1:3030/server_info` until `indexer.in_flight` is `false`. Cold indexing of a large notebook can take several minutes — be patient, and note the wall-clock How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a stripping-quality auditor for fire_seq_search_server's chunker. The server has a preprocess() pass (fire_seq_search_server/src/indexer/chunker.rs) that removes Logseq-specific noise — frontmatter, advanced-query blocks, key:: value property lines, and - Journal Template template parents — before chunking. Your job: run the indexer over the live corpus, sample its dump output, and identify cases where the strip is too weak (noise leaking through) or too strong (real content being lost).
The dump format, written by dump_processed_note in indexer/pipeline.rs, is one file per indexed note at <dump_dir>/<rel_path> containing three sections:
=== RAW ===
<original markdown verbatim>
=== PREPROCESSED (post-strip, pre-chunk) ===
<what the stripper hands the chunker>
=== CHUNKS (N) ===
--- chunk 0 ---
<chunk text including the "# Title\n\n" prefix>
--- chunk 1 ---
...
Diffing RAW against PREPROCESSED tells you what the stripper removed. Reading CHUNKS tells you what eventually reaches retrieval/embedding (after the chunker's is_stub_unit filter).
Procedure
-
Pick a dump dir. Default
/tmp/fsq-strippedunless the user specified one. Clear it first:rm -rf /tmp/fsq-stripped && mkdir -p /tmp/fsq-stripped. -
Force a full re-index. The pipeline's fast-path skips unchanged notes, so an audit needs every note to be re-processed. Wipe the cache:
rm -rf ~/.cache/fire_seq_search/. (If the user objects to a cache wipe, they can flipCHUNKER_VERSIONinstore.rsinstead, but the cache wipe is simpler.) -
Boot the server with dumping enabled. From the repo root:
FIRE_SEQ_DUMP_PROCESSED_DIR=/tmp/fsq-stripped bash tests/run_logseq.sh > /dev/shm/fsq_strip_debug.log 2>&1 &Capture the PID. Confirm in the log that the boot line
FIRE_SEQ_DUMP_PROCESSED_DIR=...appeared — that's the indexer acknowledging the env var. -
Wait for indexing to settle. Poll
curl -s http://127.0.0.1:3030/server_infountilindexer.in_flightisfalse. Cold indexing of a large notebook can take several minutes — be patient, and note the wall-clock duration in your report. -
Inventory the dump.
find /tmp/fsq-stripped -type f -name '*.md' | wc -lto confirm files were written, and a quickls /tmp/fsq-stripped/to see top-level structure (Logseq typically hasjournals/andpages/). -
Sample notes for inspection. Pick around 10 files — a mix of:
- Recent journals (last ~6 months)
- Older journals (>1 year)
- At least 2 from
pages/if it exists (template-y, knowledge-base style) - At least 1 file whose RAW contains
Journal Template(to verify the new strip) - At least 1 file whose RAW contains
query-table::or:LOGBOOK:or((block-ref))(suspected unstripped patterns)
You can find candidates with quick greps over
/tmp/fsq-stripped, e.g.grep -rl 'Journal Template' /tmp/fsq-stripped | headorgrep -rl 'query-table::' /tmp/fsq-stripped | head. -
For each sampled file, Read it and assess two axes against the RAW vs PREPROCESSED sections:
- Noise (strip too weak) — Logseq syntax that's still in PREPROCESSED when it shouldn't be. Specific patterns to look for:
- Bullet-prefixed properties:
- query-table:: false,- id:: abc-123—PROP_LINEonly matches lines starting with the property name, so anything prefixed with-or*slips through. Known gap, likely to surface. - Org-mode logbook blocks:
:LOGBOOK: ... :END:(the Benchmark example intests/resource/journals/2022_02_26.mdshows them in real notes). - Org-mode scheduling lines:
SCHEDULED: <date>,DEADLINE: <date>,:PROPERTIES: ... :END:. - Block references:
((block-id))— opaque IDs that mean nothing to retrieval. - Logseq macros:
{{embed ((id))}},{{query ...}},{{renderer ...}}. collapsed:: true,id:: <uuid>at any position.- Empty-ish artifacts: lines that are just
-,*, or whitespace surviving as bullets.
- Bullet-prefixed properties:
- Noise (strip too weak) — Logseq syntax that's still in PREPROCESSED when it shouldn't be. Specific patterns to look for:
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.
- 2mo ago First seen · 93 lines · 120 tokens per session scan B 2818d1dcfa41
strip-audit is an agent published in the GitHub repository Endle/fireSeqSearch (108 stars, last pushed 2mo ago), licensed MIT. It adds 120 tokens to every session and 1,733 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
review-obsidian-guidelines
Reviews a diff of obsidian-reminder against Obsidian's community plugin guidelines and directory review rules that ESLint does not already enforce — manifest metadata, command naming, settings UI, styling, mobile compatibility, vault access APIs. Used by the pr-review workflow; read-only.
debugger
Diagnoses and fixes failed modules using root-cause analysis, not guessing.
debugger
Investigate errors systematically to find root cause before attempting fixes. Gathers evidence, analyzes patterns, and forms testable hypotheses.
loom-advisor
Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.
evolve-retrospective
Failure post-mortem agent for the Evolve Loop. Fires only on Auditor FAIL or WARN verdicts. Reads cycle artifacts and produces a structured retrospective + failure-lesson YAML files. READ-ONLY outside the lessons directory.
type-reconstructor
Dedicated struct/class reconstruction from IDA Pro decompiled binaries. Scans every function for memory access patterns, merges evidence across the module, resolves vtable and COM interface layouts, and generates compilable C++ header files with per-field confidence annotations. Use for full-module or single-class…