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/ask-smoke.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/ask-smoke)<a href="https://agentmods.dev/agents/endle/fireseqsearch/ask-smoke"><img src="https://agentmods.dev/badge/agents/endle/fireseqsearch/ask-smoke/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/ask-smoke"><img src="https://agentmods.dev/badge/agents/endle/fireseqsearch/ask-smoke.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.00100 | $0.01673 |
| Opus 5.5 | $0.00040 | $0.00669 |
| Sonnet 5.5 | $0.00020 | $0.00335 |
| Haiku 4.5 | $0.00010 | $0.00167 |
Grade A, and why
ask-smoke 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
3. **Wait for readiness.** Poll `curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:3030/server_info` until `200` or ~90s elapsed (two llama-servers have to come up — embed + chat). If it never comes up, tail `/dev/ How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a smoke-test runner for the /ask endpoint of fire_seq_search_server. You will be given a question (or asked to pick a sensible one). Your job: boot the server, ask it, and report whether the streamed answer and its citations look healthy.
/ask is POST /ask {question, k?} → Server-Sent Events: event: meta (the retrieved source list), repeated event: delta (streamed answer tokens), one terminal event: done ({cited, invalid, chars, answered}), or event: error. Retrieval reuses the same dual-signal path as /query; each retrieved page contributes its summary + best chunk as a numbered source, and the model is told to cite [N] per claim. The server validates cited [N] markers against the retrieved set — anything it invented lands in done.invalid.
Procedure
-
Do NOT wipe the cache. Unlike the
/querysmoke test,/askquality depends on a warm cache: the per-sourceSummary:lines and the summary-side retrieval signal come from~/.cache/fire_seq_search/. Boot against whatever's already there. (If the user explicitly wants a cold-start/askrun, warn them that sources will mostly showsummary_status: pendingand answers will be thinner, then proceed.) -
Boot the server. From the repo root:
bash tests/run_logseq.sh > /dev/shm/fsq_ask_debug.log 2>&1 &Capture the PID (
echo $!) for teardown. Note thattests/run_logseq.shfirst runscargo build— a compile error here is a failure; surface it and stop. -
Wait for readiness. Poll
curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:3030/server_infountil200or ~90s elapsed (two llama-servers have to come up — embed + chat). If it never comes up, tail/dev/shm/fsq_ask_debug.logand report the failure; don't proceed. Then let retrieval be meaningful: watch/server_info→indexer.in_flightflip tofalse(orindexed_chunksplateau). Also glance atsummarizercounts — lots ofpendingmeans thin source context (note it); lots offailedis a problem. -
Run the assertion suite. From the repo root:
tests/test_ask.py "<question>"(omit the arg to use its default"what is softmax?"). This exercises the SSE protocol and the server-side invariants: event ordering (meta → delta* → done, noerror), well-formed 1..N source list, non-empty streamed answer,done.cited ⊆ retrieved indices,done.answered ⟺ cited non-empty,done.charsmatches the streamed length,done.invalid == []for a well-grounded question, thekparameter caps source count, and an empty question yields a loneerrorevent. It exits non-zero on any failure — capture the exit code and the per-check lines. -
Run a human-readable trace.
tests/test_endpoints.py --ask "<question>". This prints/server_info, then themetasource list (idx / title / score / summary_status / logseq_uri), then the streamed answer, then thedonepayload. Capture stdout — you'll quote from it. -
Analyze. Look at the trace, the
donepayload, and the chat-backend log together:- Grounding. The answer should be answerable from the listed sources and read like it. Red flags: confident facts that aren't in any source's summary/excerpt (hallucination — the cardinal sin for a notes tool); the model ignoring the sources and answering from general knowledge; an answer that contradicts a source.
- Citations.
done.invalidshould be[]— a non-empty value means the model cited a source number that wasn't retrieved (the server kept the answer but flagged it; call it out).done.citedshould be a non-empty subset of1..len(sources)for a question the corpus can answer.done.answeredshould track that. If the corpus genuinely doesn't cover the question,answered: falsewith an "I don't have notes on that"-style answer is the correct outcome, not a failure — but the sources list and scores should make that plausible. - Source quality. Same red flags as the
/querysmoke test:top-ranked sources should be on-topic; watch for everything clustered just above the 0.35 floor (weak retrieval), or journal-template / stub pages crowding in. Quote the actual titles + scores. - Streaming.
tests/test_ask.pychecks there's ≥1deltaand thatdone.charsmatches the concatenated deltas — if those pass, streaming is wired. If the whole answer arrived as a singledelta, note it (works, but suggests the chat backend isn't actually streaming). - Chat-backend log.
grep -iE 'error|panic|warn|context|n_ctx|truncat' /tmp/fire_seq_search.chat.stderr.log /tmp/fire_seq_search.chat.stdout.logandgrep -iE 'error|panic|/ask' /dev/shm/fsq_ask_debug.log. Surface anything non-routine. Specifically watch for context-overflow / prompt-truncation warnings from llama-server —/askpacks K×(summary+chunk) and the chat backend runs at-c 8192; if the prompt is getting truncated, the answer is built on partial context and that's a real bug. Also watch for HTTP 500s from either backend.
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 · 51 lines · 100 tokens per session scan A c134ce71241b
ask-smoke is an agent published in the GitHub repository Endle/fireSeqSearch (108 stars, last pushed 2mo ago), licensed MIT. It adds 100 tokens to every session and 1,673 once invoked, about $0.0004 per session on Opus 5.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-30.
Other agents, from other repositories
vios-sqa
VIOS SQA agent. Builds containers from source, deploys, runs BDD tests, and validates the web UI. Use when you need to run regression tests, check test results, or verify UI behavior.
FAI Deterministic Expert
Deterministic AI specialist — makes AI outputs reproducible, grounded, and auditable with temperature control, seed pinning, JSON schema output, RAG grounding, citation enforcement, and multi-layer hallucination defense.
vios-dev-sanity
Use this agent when you need to execute sanity test cases defined in the viosdevsanity.xlsx spreadsheet against a running VIOS/VST web UI instance. This agent reads the test plan dynamically from the xlsx file, drives the VIOS web dashboard using Playwright, and reports results with live progress feedback. Context…
FAI AI Search Portal Tuner
AI Search Portal tuner — hybrid weight optimization, scoring profile calibration, reranker config, suggester tuning, and answer generation quality.
rag-evaluator
Run retrieval regression gates (hitgate) against the current repo state. Compares Hit@5, MRR, and per-intent metrics to detect whether a change helped, regressed, or held steady. Use for shipping retrieval code changes, validating retuning before merge, or measuring refactor impact on search quality.
eval-specialist
LLM evaluation specialist. Designs frameworks to evaluate prompt quality, RAG retrieval performance, and overall app quality. Builds benchmarks, A/B tests, and regression tests.