knowns-dev/knowns/kn-init
Claude Code and agent skill by knowns-dev/knowns
- community
Checking that the SKILL.md file is still in the repository.
Use at the start of a new session to read project docs, understand context, and see current state
Install
npx vskill@latest install knowns-dev/knowns/kn-initSKILL.md
Session Initialization
Announce: "Using kn-init to initialize session."
Core principle: BOOTSTRAP WITH MCP INITIAL → DISCOVER WITH HELP → READ ONLY RELEVANT DOCS.
Inputs
- Optional user focus such as a task ID, feature area, bug, or question
- Current project root already opened in the agent session
Preflight
- Confirm this is a Knowns project
- Call MCP
initialfirst when available; it is the runtime bootstrap - Use
help("tool.*")orhelp("workflow.*")when an action schema or workflow route is not visible - Prefer project docs over guessing from code structure
- If
README,ARCHITECTURE, orCONVENTIONSdo not exist, choose the closest equivalents from the docs list - If a doc is large, read its TOC first and only open the relevant sections
Step 1: Runtime Bootstrap
If the MCP client exposes the tool as initial rather than mcp_knowns_initial, call that tool. Summarize project state, tool domains, active timer, and any warnings.
Step 2: List Docs
Step 3: Read Core Docs
For large docs, do not read the whole file. Use:
Step 4: Check Current State
Note the shape of the Task IDs you get back. New IDs always carry a prefix, from settings.defaultTaskIdPrefix or, when that is unset, derived from the project name, so they look like KN-4F7Q2M. Older tasks may still have plain IDs like 4f7q2m. Either way, pass the ID exactly as printed: the hyphen in KN-4F7Q2M is part of the ID, not a task- reference prefix to strip.
The initial tool reports the active format. Over MCP you can override the prefix per Task with tasks({ action: "create", prefix: "SPC" }); changing the project default is a CLI or Settings action, not an MCP one:
Step 4.5: Load Critical Learnings
Check for accumulated critical learnings from past work:
If learnings/critical-patterns exists:
These are promoted learnings that cost the most to discover and save the most by knowing. Include a brief summary in the session context if any exist.
Step 4.6: Load Project Memory
Project memories contain accumulated patterns, conventions, preferences, and failures from past work. Include only entries relevant to the user's focus; do not serialize the entire memory list. Retrieve relevant accepted/current first-class System Decisions separately; Memory category decision is legacy and must not be used for new capture.
Step 4: Summarize
Final Response Contract
All built-in skills in scope must end with the same user-facing information order: kn-init, kn-spec, kn-flow, kn-go, kn-plan, kn-research, kn-handoff, kn-implement, kn-test, kn-review, kn-debug, kn-decision, kn-verify, kn-doc, kn-template, kn-extract, and kn-commit.
Required order for the final user-facing response:
- Goal/result - state what session context was established or what was confirmed.
- Key details - include only the most important supporting context, refs, risks, or current-state notes.
- Next action - recommend a concrete follow-up command only when a natural handoff exists.
Keep this concise for CLI use. Skill-specific content may extend the key-details section, but must not replace or reorder the shared structure.
Do not manage platform-synced skill copies; this source defines the built-in workflow contract.
For kn-init, the key details should cover:
- 1 short paragraph or bullet list summarizing project purpose and architecture
- 1 short list of the most relevant docs opened
- current in-progress work, if any
- current risks or missing context, if any
Fallbacks
- If task search/list is unavailable, state that clearly and continue with docs + codebase context
- If core docs are missing, say which docs were not found and which substitutes were used
- If
initialis unavailable, fall back toproject({ action: "status" })and targeted docs - Do not invent project conventions that were not found in docs or code
When a follow-up is natural, recommend exactly one next command such as:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/instructions/skills/kn-init/SKILL.md
Popularity
- Repository stars
- 214
- Repository forks
- 44
- Repository npm downloads, 7 days
- 201
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 23 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/knowns-dev/knowns/kn-init)