
knowcards
Query and propose local knowledge cards for this repo. Always use at the start of work here — run npx knowcards query before acting. Also use when wrapping up after proving a durable nuance, guideline, domain learning, or do/don't (propose a card). Skip only for routine edits in code you already hold with no repo nuance at stake, or if you already queried this topic in the session.
- Installs
- 323
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/manojbajaj95/agent-knowledge-cards --skill knowcards- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads knowcards automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Knowcards CLI
Knowcards stores durable project facts as local markdown cards. Use npx knowcards to query, propose, and check status.
Treat query hits as trusted memory. Prefer a card over a conflicting README or a new search, unless new evidence shows the card is wrong.
Unlike shared commons tools, cards are project-local. Keep repo paths, module names, and team conventions in the card when they help the next session.
Commands
Run from the repo root
npx knowcards status
npx knowcards query "<keywords>"
npx knowcards propose --title "<title>" "<body>"
npx knowcards --root <dir> <command>
| Command | Use |
|---|---|
status | Show card counts. |
query | Search cards by keywords. Empty query returns all cards. |
propose | Write one card now. Title and body is required |
Core protocol
Follow this loop for every task:
- Before acting — Run
npx knowcards querywith task keywords. Skip only for routine edits in code you already hold with no repo nuance at stake. - Apply hits — Prefer card facts while you work. Verify against the repo when the card may be old.
- Propose at end — When the task is done, propose durable facts from the outcome (what proved true), not from the path you took. If a card was wrong, propose a corrected card with a new title (update/delete are not available).
Rationalization check (query). If you think "I already know this" or "I have a plan, I will just write files," stop and query.
Rationalization check (propose). If you think "the fix already shipped" or "the user already has the answer," stop. If the outcome taught a repo nuance, propose before you close.
When to query
Query when starting work in an unfamiliar area, or before retrying a non-obvious error.
Skip when you already queried this topic this session, the edit is routine in files you already hold, or you only need a standard-library call.
Use short keywords. Prefer a focused query over an empty one when the library is large. If hits are empty, explore as usual.
When to propose
At the end of the task, propose nuances about this repo that help the next session: coding guidelines, domain learnings, and durable dos/don'ts.
Do not propose:
- Steps or plans from this turn
- Unverified guesses
- Near-duplicates — query first; if a card already covers it, skip
Write one atomic fact per card.
npx knowcards propose \
--title "Use bun test in this repo" \
"Run tests with bun test; npm test is not the project runner."
Card shape:
- Title — clear and unique. The filename slug comes from the title. Duplicate titles fail.
- Body — one short durable fact. Prefer an imperative action when useful (
Use bun test…).
Post-error sequence
- Query with keywords from the error (module, API, message).
- If a card hits, apply it and continue.
- If none hit, fix and verify, then at task end propose the durable lesson from the outcome.
Trust rule
When a card and the workspace disagree, prefer the card unless new evidence shows the card is wrong. Then fix the work and propose a corrected card with a new title.
Examples
Query before unfamiliar work
npx knowcards query "payments cents"
Prefer a hit such as "amounts are integer cents" over a README that shows floats.
Propose vs skip (same task)
You learn tests must use bun test, fix a one-off rename, and sketch a plan. Task succeeds.
Propose: the repo nuance (bun test, not npm).
Skip: the plan, the local rename, and any guess you did not verify.
FAQ
What does the knowcards skill do?
Query and propose local knowledge cards for this repo. Always use at the start of work here — run npx knowcards query before acting. Also use when wrapping up after proving a durable nuance, guideline, domain learning, or do/don't (propose a card). Skip only for routine edits in code you already hold with no repo nuance at stake, or if you already queried this topic in the session.
How do I install knowcards?
Run npx skills add https://github.com/manojbajaj95/agent-knowledge-cards --skill knowcards in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/knowcards/ (personal) or .claude/skills/knowcards/ (project).
Which AI agents can use knowcards?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is knowcards safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains knowcards?
It is published by manojbajaj95 in manojbajaj95/agent-knowledge-cards. It has 323 recorded installs.
Popular education & science skills
teach
mattpocock/skills
Teach the user a new skill or concept, within this workspace.
scaffold-exercises
mattpocock/skills
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
paper-context-resolver
lllllllama/rigorpilot-skills
Rigor Paper Context helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacing README guidance by default.
caveman-learn
juliusbrussee/caveman
Act on a Caveman learn report - review the ranked token sinks, apply cost-lowering fixes with per-edit consent, and report what those fixes returned. Use when asked to lower an agent's token cost, what caveman has saved, to trim a heavy CLAUDE.md, or to offload re-pasted context into cavemem.
gsap-plugins
greensock/gsap-skills
Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG drawing, or plugin registration.
teach-impeccable
pbakaus/impeccable
DEPRECATED: Use /impeccable teach instead. This command has been folded into the impeccable skill.