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.
npx skills add ArdurAI/ardur-agent --skill cite-or-refusegit clone --depth 1 https://github.com/ArdurAI/ardur-agentWrote 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/skills/ardurai/ardur-agent/cite-or-refuse)<a href="https://agentmods.dev/skills/ardurai/ardur-agent/cite-or-refuse"><img src="https://agentmods.dev/badge/skills/ardurai/ardur-agent/cite-or-refuse/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/skills/ardurai/ardur-agent/cite-or-refuse"><img src="https://agentmods.dev/badge/skills/ardurai/ardur-agent/cite-or-refuse.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.00024 | $0.00773 |
| Opus 5 | $0.00012 | $0.00387 |
| Sonnet 5 | $0.00005 | $0.00155 |
| Haiku 4.5 | $0.00002 | $0.00077 |
Grade A, and why
cite-or-refuse 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 8d 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cite-or-refuse grounded mode
Use this skill whenever the user requests an answer that depends on private, workspace, or user-corpus knowledge rather than general reasoning. The answer is allowed only when it is grounded in retrieved spans from the user corpus.
Mandatory preflight
- Query the configured user-corpus retriever before drafting the answer.
- Treat the retrieval result as empty when there are zero spans, every span has an unusable body, or the retrieval layer reports an authorization/error state that prevents reading the corpus.
- If retrieval is empty, do not answer from memory or model prior knowledge.
Refuse with the template below and include a grounding receipt showing
status: refused_empty_retrieval. - If retrieval returns spans, use only those spans for corpus-dependent claims. General-language glue is fine, but factual claims about the corpus require a citation.
Citation rules
- Cite each corpus-dependent sentence with one or more source span markers.
- Source markers use the stable span id form
[S<n>], where each marker maps to one retrieved source span in the source list. - Never cite a document as a whole when the retriever returned narrower spans.
- Do not merge nearby spans unless the retrieval layer explicitly returned the merged span.
- If a requested detail is not present in the retrieved spans, say that the retrieved corpus does not support that detail instead of guessing.
Required response shape
When grounded spans are available, respond in this order:
Answer— concise answer with inline[S<n>]citations on every corpus-dependent claim.Sources— one bullet per cited span, including span id, document/source title or URI, byte/line/time offsets when available, and a short quoted excerpt. Keep excerpts minimal and do not invent offsets.Grounding receipt— a compact machine-readable block following@./receipt-schema.md.
When retrieval is empty, use this refusal template:
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago First seen · 83 lines · 24 tokens per session scan A 812f236e45ab
cite-or-refuse is a skill published in the GitHub repository ArdurAI/ardur-agent (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 24 tokens to every session and 773 once invoked, about $0.0001 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 skills, from other repositories
rag-retrieval
Query your local document knowledge base using semantic search and get AI-powered answers.
RAG Reasoning
Visible reasoning contract for retrieval, evidence selection, and grounded synthesis.
llm-app-patterns
Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.
9router-embeddings
Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.
azure-search-documents-dotnet
Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…
similarity-search-patterns
Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.