K-Ops: Skill for Claude Code

.claude/skills/qa-agent/SKILL.md

qa-agent is a skill for Claude Code from arnaudgelas/K-Ops. It costs 19 tokens per session (818 once invoked), scanned A, original, MIT.

A question-answering workflow for a personal knowledge vault, with instructions for saving useful answers and lasting improvements back into the vault. It classifies the question before retrieving relevant notes and sources.

In plain words
What is it for?
Use it to search the vault, answer lookup or synthesis questions, investigate contradictions or freshness, review code or records, and save an answer memo or durable updates.
Why use it?
It helps answers remain grounded in existing research instead of relying only on the conversation. It also prevents useful conclusions from disappearing after the answer is given.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is arnaudgelas/K-Ops's own configuration. It tells Claude Code how to work on K-Ops itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything K-Ops configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arnaudgelas/K-Ops. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/arnaudgelas/K-Ops/main/.claude/skills/qa-agent/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/arnaudgelas/K-Ops

Made for: Claude Code.

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 qa-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/arnaudgelas/k-ops/qa-agent/github.svg)](https://agentmods.dev/skills/arnaudgelas/k-ops/qa-agent)
Your own site
<a href="https://agentmods.dev/skills/arnaudgelas/k-ops/qa-agent"><img src="https://agentmods.dev/badge/skills/arnaudgelas/k-ops/qa-agent/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.

agentmods 80×15 button for qa-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/arnaudgelas/k-ops/qa-agent"><img src="https://agentmods.dev/badge/skills/arnaudgelas/k-ops/qa-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 818 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00019 $0.00818
Opus 5.5 $0.00008 $0.00327
Sonnet 5.5 $0.00004 $0.00164
Haiku 4.5 $0.00002 $0.00082

Measured 1mo ago against content hash cadf69d4b8d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qa-agent 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 1mo 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.

.claude/skills/qa-agent/SKILL.md · 54 lines

How it starts

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

Q&A Agent

Goal

Produce useful answers without letting knowledge disappear into chat.

Workflow

  1. Read notes/Home.md or notes/Indexes/Flat_Concept_Index.md, and run search_vault.py programmatically.
  2. Classify the query using notes/Runbooks/Query_Planner.md (one of: lookup, synthesis, contradiction, freshness, code, audit, research).
  3. Execute the required retrieval layers in the order specified for that query class.
  4. Find the most relevant concept pages and source summaries (capped at reading at most 10 concept pages total).
  5. Answer from the vault.
  6. Save the answer memo in notes/Answers/YYYYMMDDTHHMMSS-topic.md using the schema below.
  7. File durable improvements back into concept pages, open questions, contradictions, or TODOs.

Answer Memo Schema

Frontmatter:

  • title (Human-readable topic title)
  • type: answer
  • asked_at (ISO-8601 date)
  • answer_quality (must be exactly durable if updating the vault, or memo-only if not)
  • scope (must be exactly shared for durable answers, or private for memo-only answers)
  • query_class (must be one of: lookup, synthesis, contradiction, freshness, code, audit, research)
  • sources_consulted (YAML list of every source_id opened during the session)
  • retrieval_path (YAML list of dictionaries specifying each retrieval step taken; each step must have keys: method, layer, query, results_count)
  • fetch_required (boolean, indicating whether external web fetching was performed/required)
  • tags (must include kb/answer)

Structure:

  • Must have a top-level heading (e.g. # Question / # Answer).
  • Must have a second-level heading (e.g. ## Summary, ## Analysis).
  • Must have a ## Vault Updates section.
    • If answer_quality: durable, this section must list the exact edits made to concept pages.
    • If answer_quality: memo-only, this section must be exactly - None..

Rules

  • Prefer vault-grounded answers.
  • State uncertainty clearly (e.g., "according to [[Sources/...]]" vs "this is unclear").
  • Do not fabricate evidence.
  • Every factual claim in the answer must carry an inline wikilink citation: [[Sources/<source_id>|<source_id>]] or [[Concepts/<name>|<name>]]. If no source supports a claim, mark it (unverified).
  • For a consequential answer, gate the evidence by stakes: run consequence-gate --tier <recommendation|decision|autonomous> (optionally --concept <stem>). Do not let blocked, quarantined, or unsupported claims back a high-consequence answer; flag the shortfall in the memo instead.

Read the full file on GitHub · 54 lines

Files

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.

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. 1mo ago First seen · 54 lines · 19 tokens per session scan A cadf69d4b8d7

Subscribe to this mod's changes

qa-agent is a skill published in the GitHub repository arnaudgelas/K-Ops (1 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 818 once invoked, about $0.0001 per session on Opus 5.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 skills, from other repositories

kb-lint

Health check for the PARA Knowledge Base. Detects orphan documents, broken links, index drift, tag issues, and stale content. Run periodically or as part of weekly review.

ernestolee13/para-knowledge-base · 39 tokens

llm-wiki

Explain and apply the foundational LLM Wiki architecture and knowledge-management strategy. Use for setup, architecture, schema, or organization decisions; operational ingest/query/lint work uses dedicated skills.

Ar9av/obsidian-wiki · 41 tokens

wiki-lint

Audit wiki health: broken links, orphans, contradictions, stale content, lifecycle and tag issues. Use for maintenance or health checks. Default is report-only; use wiki-dedup for page-identity merges.

Ar9av/obsidian-wiki · 47 tokens

wiki-export

Export the Obsidian wiki graph to JSON, GraphML, Neo4j Cypher, Postgres/SQL, HTML, or OKF bundles. Use when transferring or visualizing wiki data in external tools; wiki-import handles the reverse direction.

Ar9av/obsidian-wiki · 53 tokens

wiki-status

Report wiki ingestion/completeness state, pending source delta, structural insights, or maintenance equilibrium. Use for remaining-work/status questions, hubs and bridges, or whether maintenance skills still have pending changes. wiki-digest summarizes learned knowledge instead.

Ar9av/obsidian-wiki · 50 tokens

wiki-query

Search and synthesize answers from the compiled Obsidian wiki, including cited and multi-hop answers. Use for questions about existing wiki knowledge or fast index-only lookups, and for challenge requests ("challenge this", "argue against X", "poke holes in my plan") that look for the vault's own evidence against a…

Ar9av/obsidian-wiki · 89 tokens