Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

epistemic-resourcefulness

БесплатноБез исполняемых скриптовНе проверен

Breaks the cycle of repeated failed attempts by redirecting to the authoritative source of truth before trying again. Trigger when: the same command or query…

ericmjlот ericmjl★ 45 звёзд на GitHub

Об этом скилле

Epistemic Resourcefulness

Before interacting with any unfamiliar system, find the authoritative source of truth about its structure. Do not guess, scan blindly, or trial-and-error your way to an answer when a definitive source exists.

The Core Rule

For every structured system, there is an authoritative description of that structure. Locate it first. Then act.

Quick Reference: Authoritative Sources by System Type

System Authoritative source How to access
SQLite database Schema sqlite3 file.db ".schema"
Any SQL DB Table/column info DESCRIBE table / information_schema
CLI tool Help text tool --help or man tool
Installed CLI tools Package-manager manifest brew list / brew info, uv tool list
REST API OpenAPI/Swagger spec /docs, /openapi.json, or repo
Python package Installed interface python -c "import pkg; help(pkg)"
File format Format library docs Check PyPI/npm for a parser library
Config system Schema/defaults Config file comments, --show-config
Running process Its own API Check docs for management interface
Codebase Entry points README, AGENTS.md, __init__.py, index.ts
npm/Python project Dependencies package.json, pyproject.toml

The Anti-Pattern: Brute-Forcing

Brute-forcing looks like:

  • Reading a binary file byte-by-byte without knowing its format
  • Querying a DB with guessed column names
  • Scanning every file in a directory when a manifest exists
  • Repeating variations of a failed command hoping one works
  • Trying API endpoints at random

Brute-forcing is wasteful and unreliable. It signals that the agent skipped the investigation step.

The Pattern: Investigate First

When facing an unfamiliar system:

  1. Identify what kind of system it is (database? CLI? API? file format?)
  2. Look up the authoritative source for that system type (see table above)
  3. Retrieve the structure (schema, help text, spec, manifest)
  4. Then act with knowledge of the actual structure

Worked Example

Task: Read conversation history from the OpenCode SQLite database.

Brute-force approach (wrong):

cat ~/.local/share/opencode/opencode.db   # binary garbage
ls ~/.local/share/opencode/               # scanning around

Resourceful approach (correct):

# Step 1: Identify - it's SQLite
# Step 2: Authoritative source = schema
sqlite3 ~/.local/share/opencode/opencode.db ".tables"
sqlite3 ~/.local/share/opencode/opencode.db ".schema session"
# Step 3: Now query with known column names
sqlite3 ~/.local/share/opencode/opencode.db \
  "SELECT id, title FROM session ORDER BY time_created DESC LIMIT 5;"

A Note on "Obvious" Systems

Even systems you think you know may have changed or have non-obvious quirks in this specific environment. When something isn't working as expected, resist the urge to iterate blindly - treat it as an unfamiliar system and re-run the investigation step.

User-Named Tool Not on PATH

When the user names a CLI tool and which <name> / command -v <name> fails, the authoritative source for what is actually installed is the package-manager manifest — query it BEFORE speculating the user meant a different tool (gcloud? a typo? an alias?). Check in order:

  1. brew list | grep -i <name> and brew info <name> — the info output lists the opt prefix and linked bin/ symlinks, so the real binary names are right there
  2. ls /opt/homebrew/bin | grep -i <partial>
  3. uv tool list, pixi global list, npm ls -g --depth=0
  4. grep -i <name> ~/.zshrc ~/.zprofile for aliases

Root cause: users refer to tools by their package/formula name, but PATH lookup is by binary name, and the two frequently differ — brew formula gogcli (Google Suite CLI) installs a binary named gog; the tool IS installed and authenticated while which gogcli fails.

Worked failure (2026-08-14): user said "use gogcli"; the assistant searched PATH/pixi/uv/npm but never brew, burned 3 turns speculating about gcloud and typos, and drew a "Take action now." interrupt. One brew list | grep -i gog would have answered instantly.

Claiming "I Don't Have Access to X" When a CLI Exists

Before telling the user "I don't have access to X" (email, calendar, cloud storage, any external service), CHECK THE ENVIRONMENT AND REPO EVIDENCE FIRST — the capability often exists as a CLI with no MCP tool in the session.

Trigger condition: the user asks you to check/read/send something in an external service and your first instinct is "no such tool is available."

Root cause: equating "no MCP tool in this session" with "no capability on this machine" — while scheduled jobs and scripts in the repo contain working invocations of exactly that capability.

Fix procedure, in order:

  1. which <likely-cli> — for email: which gog; the gog CLI provides Gmail (`gog
Полный SKILL.md на GitHub

Установить epistemic-resourcefulness в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл epistemic-resourcefulness?

Breaks the cycle of repeated failed attempts by redirecting to the authoritative source of truth before trying again. Trigger when: the same command or query has failed 2+ times; output is garbled/binary; guessed field names, endpoints, or flags keep erroring; scanning yields no signal; you are about to say 'I don't have access to X' (a CLI may exist: gog = Gmail; check which/brew and script logs first); you are about to label a step 'manual' or 'human-only' (the API likely supports it — introspect input types before delegating to the human); you are reconstructing what was SAID in past communication (grep derived notes once, then go to the mailbox thread); or you are about to end a turn asking Eric to check his own inbox for a code/link, or parked at a sign-in screen handing him the auth step (fetch the message via gog or mint a session JWT yourself — an inbox handoff dresses an agent-executable step as a blocker).

Как установить скилл epistemic-resourcefulness?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл epistemic-resourcefulness запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить epistemic-resourcefulness с