episteme-advisor

episteme-advisor is a skill for Claude Code from epicsagas/Episteme. It costs 49 tokens per session (546 once invoked), scanned B, original, Apache-2.0.

An engineering decision adviser that uses the Episteme software-engineering knowledge graph to examine architecture choices, design trade-offs, and refactoring options.

In plain words
What is it for?
Use it when choosing between implementation patterns, resolving design conflicts, evaluating refactorings, or investigating architecture questions.
Why use it?
It helps replace guesswork with recommendations tied to documented relationships between patterns, design rules, and code smells.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the episteme plugin — 5 skills shipped together

Good fit Use it when choosing between implementation patterns, resolving design conflicts, evaluating refactorings, or investigating architecture questions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/epicsagas/episteme/episteme-advisor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add epicsagas/Episteme --skill episteme-advisor
Clone the repo
git clone --depth 1 https://github.com/epicsagas/Episteme

Made for: Claude Code.

Or install episteme, the plugin that ships this one along with the rest of its 5 skills.

Wrote 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.

agentmods badge for episteme-advisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/epicsagas/episteme/episteme-advisor/github.svg)](https://agentmods.dev/skills/epicsagas/episteme/episteme-advisor)
Your own site
<a href="https://agentmods.dev/skills/epicsagas/episteme/episteme-advisor"><img src="https://agentmods.dev/badge/skills/epicsagas/episteme/episteme-advisor/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.

agentmods 80×15 button for episteme-advisor

Your own site · 80×15
<a href="https://agentmods.dev/skills/epicsagas/episteme/episteme-advisor"><img src="https://agentmods.dev/badge/skills/epicsagas/episteme/episteme-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 546 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00546
Opus 5 $0.00024 $0.00273
Sonnet 5 $0.00010 $0.00109
Haiku 4.5 $0.00005 $0.00055

Measured 12d ago against content hash d5c58045d953, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

episteme-advisor scanned grade B with 2 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 12d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

3. **Connect** -- `curl -s -X POST $EPISTEME_URL/graph/path -H 'Content-Type: application/json' -d '{"from_id":"...","to_id":"...","max_depth":5}'` to map relationships between competing options

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Then use `$EPISTEME_URL` and `-H "X-API-Key: $EPISTEME_API_KEY"` in all curl calls.
skills/episteme-advisor/SKILL.md · 54 lines

What it actually says

Role

You are an engineering advisor who translates architecture questions and design trade-offs into concrete, knowledge-graph-backed recommendations.

Prerequisites

Before any API call, resolve the URL and token once:

eval $(epis api env)
# Sets: EPISTEME_URL=http://127.0.0.1:<port>
# Sets: EPISTEME_API_KEY=<token>  (only if configured)

Then use $EPISTEME_URL and -H "X-API-Key: $EPISTEME_API_KEY" in all curl calls.

  • API server must be running: curl -sf $EPISTEME_URL/health or start with epis api start
  • Auth header (when key is set): X-API-Key: $EPISTEME_API_KEY

Workflow

  1. Receive the engineering decision or trade-off question
  2. Research -- curl -s '$EPISTEME_URL/search?q=QUERY&limit=5' for relevant patterns, laws, and smells
  3. Connect -- curl -s -X POST $EPISTEME_URL/graph/path -H 'Content-Type: application/json' -d '{"from_id":"...","to_id":"...","max_depth":5}' to map relationships between competing options
  4. Check tensions -- curl -s '$EPISTEME_URL/graph/contradictions' to surface any known conflicts between candidate options; curl -s '$EPISTEME_URL/graph/infer' to find implicit enforcement chains that may tip the trade-off
  5. Weigh -- compare trade-offs using graph evidence
  6. Advise -- structured recommendation with citations and action plan

Output Format

# Advisory: [Decision Topic]

## Context
[Brief restatement of the question]

## Options Considered
| Option | Pros | Cons | Related Entities |
|--------|------|------|-----------------|

## Recommendation
**[Chosen approach]** -- because [reason grounded in graph entity]

## Action Plan
1. [Step 1]
2. [Step 2]

## Risks
- [Risk] -> mitigated by [RF-xxx or DP-xxx]
Changes

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.

  1. 12d ago First seen · 54 lines · 49 tokens per session scan B d5c58045d953

Subscribe to this mod's changes

episteme-advisor is a skill published in the GitHub repository epicsagas/Episteme (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 546 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

understand-figma

Analyze a Figma file via the Figma REST API and generate an interactive design knowledge graph (pages, screens, components, component sets, instances, design tokens) with a kind:"design" dashboard.

Egonex-AI/Understand-Anything · 47 tokens

b123d-modeling

Use this skill when asked to model, build, or modify a 3D part or assembly with build123d — from a text description, a technical drawing (image or PDF), dimensions in a spec, or an existing STEP/STL file.

pzfreo/build123d-mcp · 0 tokens

umg-mcp-authoring

Use when Codex needs to create, edit, inspect, validate, or demo UE5.8 UMG interfaces through Unreal Motion Graphics MCP/FabUmgMcp, especially target/default workflows, widget tree authoring, HLSL-backed UI materials, Sequencer widget animations, Blueprint event wiring, readback validation, or operation-trace demo…

winyunq/UnrealMotionGraphicsMCP · 79 tokens

memoire-design-tooling

Use when a task spans interface understanding, design-system memory, UI audits, design CI, Figma, shadcn or Tailwind code generation, research, or agent design workflows and needs the correct Memi capability selected.

memi-design/memi · 51 tokens

build-swiftui-interface

Use when a coding agent must design, scaffold, implement, or verify an iOS or macOS SwiftUI interface with Apple-platform state, accessibility, availability, testing, and Xcode evidence.

memi-design/memi · 45 tokens

shadcn-sveltekit-design

Use when building, redesigning, beautifying, or refactoring SvelteKit pages and reusable components with shadcn-svelte, Bits UI, or the shadcn-svelte MCP. Trigger on landing pages, dashboards, marketing sites, app shells, forms, navbars, tables, dialogs, responsive layouts, theming, icon selection, and requests to…

Michael-Obele/shadcn-svelte-mcp · 99 tokens