cogikyo/dotfiles/epistemology
Claude Code and agent skill by cogikyo/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Use when the user invokes /epistemology or asks to mine OpenCode sessions for evidence-backed improvements to skills, agent instructions, command wrappers, the global AGENTS.md, ROUTING.md, or a project AGENTS.md. Collab owns it. Returns proposals without applying them.
Install
npx vskill@latest install cogikyo/dotfiles/epistemologySKILL.md
Epistemology
Apply mechanize before choosing an owner for a recurring correction in Find.
Authority
Collab owns this attended procedure. Do not dispatch it.
Scope
Mine live OpenCode session traces for reusable workflows and missing or unclear knowledge. Targets are skills, agent instructions, command wrappers, the global AGENTS.md, ROUTING.md, or a project AGENTS.md. Papercuts owns command, permission, and agent-use failures; do not re-diagnose those here.
Treat $ARGUMENTS as optional focus: a topic, session ID, directory, time range, or a papercuts handoff. Ask one focused question before querying only when those arguments are materially ambiguous. With no arguments, scan recent top-level sessions for the current directory without asking.
Accept a papercuts handoff in this form and use its session IDs, time range, command family, and diagnosis as the starting scope:
/epistemology sessions <ids>; time <range>; focus on <command family>; papercuts diagnosis: <diagnosis>
Default bound: the 12 most recent top-level sessions (parent_id IS NULL) whose session_v2.directory matches the current directory, with time_updated in the last 14 days. If that match is empty, retry against the repository root. Report the actual sampled count and the oldest-to-newest time_updated span. Do not claim complete coverage when the cap or window truncated the store.
Store
Read sessions through the sessions tool. Pass $ARGUMENTS values as tool arguments or params; do not write them into SQL text.
session_v2.directory is the authority for current-directory selection. Do not join project or build a project-resolution layer; many sessions use project_id='global'.
- Select candidates with
list, filtered bydirectoryandsince; it returns top-level sessions with theiragent, so user-role text is human input. - Pull children with
listandparentonly after selecting a relevant parent, or when delegation behavior is the focus. - Read one session at a time with
text, filtered byroleormatchwhen the focus is known. - Use
toolsfor a session's tool inventory; filtertool: "skill"to see skill calls, whose input carries the skillid. - Read one
partfor its input and output only after that item matters, using the returned<message ID>#<index>address.
Treat a parent plus its children as one occurrence unless they independently evidence the finding. Inspect reasoning only after narrowing to a session that still needs it. The tool skips empty reasoning; also skip encrypted or redacted text, and do not use reasoning alone as evidence. Use sql only when no operation answers the question, and bind session_message.session_id to one selected session. Assistant content items are in session_message.data.content; json_each can inspect them.
Find
Look for repeated user corrections, reconstructed explanations, and stable tool or workflow sequences across independent sessions. Read a proposed target's current content before claiming it lacks the knowledge. Do not promote one-off task detail, parent-child duplicates, weak similarity, or contradictory traces into a rule. Quote minimally and omit secrets.
Prefer the smallest owner that can prevent rediscovery:
- A focused
SKILL.mdfor a reusable attended workflow. - An existing skill or agent instruction for a local clarification.
- A command wrapper for invocation or argument guidance.
- The global
AGENTS.md,ROUTING.md, or a projectAGENTS.mdonly for genuinely broad, stable guidance.
Mark primary agent prompts, the global AGENTS.md, ROUTING.md, and project AGENTS.md files as higher-blast-radius targets.
Report
Rank findings, strongest evidence first. State the sampled session count and time span once. If evidence does not support a change, say so.
For each finding include:
- Session IDs,
session_v2.agent, and a minimal excerpt or concrete tool trace. - Why the evidence is reusable rather than task-specific.
- The exact proposed artifact and a focused change.
- Confidence and blast radius.
- The bounded query or scope needed to reproduce it: session IDs, directory, time span, and which part kinds were read.
Do not dump routine SQL in the report.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingconfig/opencode/skills/improve/epistemology/SKILL.md
Popularity
- Repository stars
- 122
- Repository forks
- 6
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/cogikyo/dotfiles/epistemology)