advisor

A read-only coaching tool for finding high-priority ways to improve a personal coding-agent environment.

In plain words
What is it for?
Running periodic health reviews, showing ranked findings, and asking the owner before any suggested fix is applied.
Why use it?
It surfaces issues such as outdated versions, pending migrations, stalled work, setup problems, or drifting skills without changing anything automatically.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/timurgaleev/memex/advisor
Any agent
npx skills add timurgaleev/memex --skill advisor
Clone the repo
git clone --depth 1 https://github.com/timurgaleev/memex

Made for: Claude Code, Codex.

Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,170 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00070 $0.01170
Opus 5 $0.00035 $0.00585
Sonnet 5 $0.00014 $0.00234
Haiku 4.5 $0.00007 $0.00117

Measured 3d ago against content hash 1be6307c3327, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

advisor scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

deploy/skills/advisor/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Brain Advisor

Convention: See conventions/brain-first.md (via get_skill conventions/brain-first). This skill is the proactive voice of the brain — it tells the owner how to run it better.

Contract

This skill guarantees:

  • Read-only. The advisor tool never mutates. It computes a ranked list of actions from existing brain state.
  • Print, never execute. You SHOW the user the findings and ASK before running any fix. The user owns every decision.
  • Bounded nagging. On a cadence, surface only what changed or what's critical; don't repeat an ignored low-severity item every run.

When to run

  • On demand when the user asks "how do I get more out of this brain?"
  • On a weekly cadence via the scheduled-checkup recipe below (even idle brains get a "here's how to run this better" ping).

How to run it

Call the advisor tool (from the shell: memex call advisor '{}').

The payload is { version, generated_at, worst, findings: [...] }, with worst as the severity gate: clean, warn, or critical. Each finding has:

  • severitycritical | warn | info
  • title — one-line why-it-matters
  • fix — the exact action to fix it (a memex shell command or an MCP tool call, stated explicitly)

What to do with the findings

  1. Read the findings, highest severity first.
  2. Summarize the top 1-3 to the user in their own channel/voice. Lead with any critical item (e.g. pending migrations).
  3. For each, show the suggested fix and ask whether to run it.
  4. If they say yes, run exactly the stated fix yourself — a memex command on the host or the named MCP tool call — nothing more. Version-drift findings route to skills/brain-upgrade (the deploy loop), not to an ad-hoc command.
  5. Never run a fix the user didn't approve.

Scheduled checkup recipe (weekly)

Install a weekly checkup via the operator's host scheduler (a systemd timer) or the agent harness's own scheduler — see skills/cron-scheduler for the recipe. Keep the prompt THIN — the job just reads this skill and runs the advisor:

Read the full file on GitHub · 116 lines

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. 3d ago First seen · 116 lines · 70 tokens per session scan A 1be6307c3327

Subscribe to this mod's changes

advisor is a skill published in the GitHub repository timurgaleev/memex (8 stars, last pushed 8d ago), licensed MIT. It adds 70 tokens to every session and 1,170 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. 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