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 itsmostafa/qi --skill qi-cligit clone --depth 1 https://github.com/itsmostafa/qiWrote 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/itsmostafa/qi/qi-cli)<a href="https://agentmods.dev/skills/itsmostafa/qi/qi-cli"><img src="https://agentmods.dev/badge/skills/itsmostafa/qi/qi-cli/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/itsmostafa/qi/qi-cli"><img src="https://agentmods.dev/badge/skills/itsmostafa/qi/qi-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 11 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Data Exfiltration · line 180 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 263 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00092 | $0.03847 |
| Opus 5.5 | $0.00037 | $0.01539 |
| Sonnet 5.5 | $0.00018 | $0.00769 |
| Haiku 4.5 | $0.00009 | $0.00385 |
Grade A, and why
qi-cli 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl http://localhost:11434/v1/embeddings -H "Content-Type: application/json" \ How it starts
The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.
qi is a local-first knowledge search CLI. It indexes documents into SQLite and supports BM25 full-text search and vector/hybrid search (with a local or remote embedding provider).
Quick Start
qi init # Create config + database (config lists a sample ~/notes collection)
qi index ~/notes # Index a directory; it is saved to config as a collection
qi doctor # Verify setup
qi search "your query" # BM25 keyword search (no provider needed)
qi query "your semantic question" # Hybrid search; keyword-only, with a warning, if no provider is configured
index, search, query, get, list, stats, delete and hook need a config file, so run qi init first. qi update, --version and --help work without one, and qi doctor reports a missing file as a failed check.
Commands
qi init
Writes ~/.config/qi/config.yaml (if absent) and initializes the SQLite database.
qi init
qi index [path|collection]...
Indexes documents. A file whose size and mtime match the last run is skipped without being read; otherwise SHA-256 content hashing decides whether it changed. Files over 10 MiB and binary files (a NUL byte in the first 8000 bytes) are skipped and counted in skipped, as are hidden directories, common tool directories (node_modules, vendor, dist, build, …) and symlinks. Documents whose files are gone are deleted from the database in the same run. A second qi index against the same database waits for the first to finish rather than failing. Use --force to reprocess unchanged files, e.g. after a qi upgrade changes parsing.
Without an extensions list, a collection indexes only .md, .markdown, .txt and .text. List other formats explicitly: .mdx (Markdown; MDX import/export and JSX tag lines are ignored), .rst (reStructuredText) and .adoc/.asciidoc (AsciiDoc) are split at section titles into heading paths; any other listed extension is plain text.
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.
- 1mo ago Changed · +7 lines · +4 tokens per session 8dd4673a069e
- 1mo ago Changed · +9 lines 58ef93b7affd
- 2mo ago Changed · +8 lines 561bfa92899b
- 2mo ago Changed · +20 lines b57a1eb5db18
- 2mo ago Changed · +11 lines · -27 tokens per session a8371a35bab1
- 2mo ago Changed · -44 lines · -10 tokens per session a9b59a126f2a
- 3mo ago First seen · 308 lines · 125 tokens per session scan A 0dd3ca209dc7
qi-cli is a skill published in the GitHub repository itsmostafa/qi (43 stars, last pushed 1mo ago), licensed MIT. It adds 92 tokens to every session and 3,847 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.
qi-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| qi-cliitsmostafa/qi | Skill | 43 | 1mo ago | MIT | A | 92 | Claude Code, Codex |
| wegent-knowledgewecode-ai/Wegent | Skill | 895 | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| llm-wikiAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 41 | Claude Code |
| llmwikiatomicstrata/llm-wiki-compiler | Skill | 2.3k | 2d ago | MIT | A | 66 | Claude Code, Codex |
| karpathy-llm-wikiAstro-Han/karpathy-llm-wiki | Skill | 2.8k | 4mo ago | MIT | A | 67 | Claude Code, Codex |
| retrieval-workflowJetXu-LLM/DocMason | Skill | 152 | 4d ago | Apache-2.0 | A | 18 | Claude Code, Codex |
| cartographer-kb-ingest-planBeppeTemp/cartographer | Skill | 69 | yesterday | Apache-2.0 | A | 88 | Claude Code, Codex |