Borrowing it
Nothing to install: this file belongs to jovandyaz/knowtis-app. 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/jovandyaz/knowtis-app/main/.agents/skills/building-copilot-features/SKILL.mdgit clone --depth 1 https://github.com/jovandyaz/knowtis-appWrote 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/jovandyaz/knowtis-app/building-copilot-features)<a href="https://agentmods.dev/skills/jovandyaz/knowtis-app/building-copilot-features"><img src="https://agentmods.dev/badge/skills/jovandyaz/knowtis-app/building-copilot-features/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/jovandyaz/knowtis-app/building-copilot-features"><img src="https://agentmods.dev/badge/skills/jovandyaz/knowtis-app/building-copilot-features.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.00135 | $0.00904 |
| Opus 5.5 | $0.00054 | $0.00362 |
| Sonnet 5.5 | $0.00027 | $0.00181 |
| Haiku 4.5 | $0.00014 | $0.00090 |
Grade A, and why
building-copilot-features 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.
How it starts
The opening of the file, as written. The whole thing — 28 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Building copilot features
The copilot is a server-authoritative conversational agent (apps/api/src/modules/agent/) on top of the framework-free @knowtis/ai-gateway. Safety invariants below are load-bearing — a change that violates one is a bug even if tests pass. Details: references/safety-invariants.md, references/module-map.md, references/eval-workflow.md.
Invariants you must never break
- Server-authoritative turns. The client sends one message +
conversationId; the server rebuilds history from Postgres. Never trust client-supplied history. - HITL on every mutation. Mutation tools emit a proposal parked in Redis; nothing is applied until
agent:approverunsApproveMutationHandler. No code path — including MCP — may auto-apply. - Everything retrieved is DATA. Notes, memories, and web results are injected as data, never as instructions.
detectPromptInjection()blocks at score ≥ 0.6; inputs > 50k chars are rejected (ReDoS defense). Every long-term-memory candidate fact passes the guard too. - Fallback chain semantics. Primary →
AI_FALLBACK_CHAIN, skipping keyless/cooldown providers. A stream never switches models mid-stream; aborts never advance the chain; the reported model is the one that actually served. BYOK turns skip the chain entirely and redact provider errors. - BYOK encryption key is permanent. Keys are AES-256-GCM under one unversioned
BYOK_ENCRYPTION_KEY; replacing it makes stored credentials appear missing. There is no lossless rotation path today. If compromise forces rotation, disableagent_byok, rotate the key, and require users to delete and re-enter provider keys before re-enabling it. Preserving credentials would require a separately designed dual-key, versioned re-encryption migration. BYOK bypasses the daily budget but still enforces RPM. - Feature-flag gating pattern. Every AI feature is DB-flag gated (default off) and keyed to an env var: no
VOYAGE_API_KEY→ retrieval reconcile cron no-ops; no key → keep the flag off. "Feature not working" usually means a flag or key, not a bug.
What ships with it
4 files 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.
- 1mo ago First seen · 28 lines · 135 tokens per session scan A 57db3efd01fe
building-copilot-features is a skill published in the GitHub repository jovandyaz/knowtis-app (4 stars, last pushed yesterday), licensed MIT. It adds 135 tokens to every session and 904 once invoked, about $0.0005 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.
Other skills, from other repositories
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.
openai-whisper-api
Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
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.
llmwiki
Build and use a persistent, citation-traceable knowledge wiki from documents, research papers, notes, or project documentation. Use for llmwiki projects, retrieving reusable evidence for an agent task, or compiling a corpus for repeated questions. A one-off file read or live web search does not need a wiki.
wegent-knowledge
Knowledge base management and search tools for Wegent. Provides capabilities to list, create, update, and search knowledge bases and documents using RAG retrieval. Use this skill when the user wants to manage knowledge bases, documents, or search for information programmatically.
learning-notes-automation
A workflow for turning videos, podcasts, and articles into structured learning notes. It extracts key ideas and creates flashcards that can be imported into Anki, a spaced-repetition study app.