solve

solve is a command for Claude Code from linggen/linggen-memory. It costs 21 tokens per session (405 once invoked), scanned A, original, MIT.

A command for working through a queue of unresolved memory-review items using available evidence. It checks stored information, code, documentation, and history before asking the user a question.

In plain words
What is it for?
Use it to list open memory issues, investigate each one, record what the evidence shows, and close issues that have been settled.
Why use it?
It reduces unnecessary questions and helps resolve uncertain or conflicting memory entries based on supporting evidence.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the linggen plugin — 1 skill, 7 commands, 3 hooks, 2 MCP servers shipped together

Good fit Use it to list open memory issues, investigate each one, record what the evidence shows, and close issues that have been settled.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/linggen/linggen-memory/solve
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.

Clone the repo
git clone --depth 1 https://github.com/linggen/linggen-memory

Made for: Claude Code.

Or install linggen, the plugin that ships this one along with the rest of its 1 skill, 7 commands, 3 hooks, 2 MCP servers.

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 solve

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/linggen/linggen-memory/solve"><img src="https://agentmods.dev/badge/commands/linggen/linggen-memory/solve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 405 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00021 $0.00405
Opus 5.5 $0.00008 $0.00162
Sonnet 5.5 $0.00004 $0.00081
Haiku 4.5 $0.00002 $0.00040

Measured 22d ago against content hash 7f3b0b51ec7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

solve 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 22d 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.

plugins/linggen/commands/solve.md · 8 lines

What it actually says

First call memory_role: when it says role: replica, reply exactly Memory is dreamed on the primary (<upstream>) and stop — review items are solved on the primary.

Otherwise invoke the linggen skill (Skill tool) and treat this message as /linggen solve — Solve mode. Follow the skill's Solve runbook: list open items (memory_issues, or ling-mem issues --format json), then per item try to solve it YOURSELF first — gather evidence at solve time (full rows, git history, code, docs) and write what the evidence settles via memory_add + replace_ids — asking the user only when evidence can't settle it or a user-voice row is involved (then ONE simple fact question at a time, plain words, with your recommendation; user-voice fixes need user_directed:true after the ask), and close each item via memory_issue_resolve. When the evidence sits where you can't read (a declined permission prompt, or outside your grants), don't ask again or try another tool: skip the item, and at the end ask the user ONE plain question covering all skipped items. Solve runs in this main chat only — never Task or subagents: gather each item's evidence yourself (memory_get, Read, git via Bash) and be the only writer (memory_add, memory_issue_resolve); an item you lack a tool to check stays open with its reason and joins the end-of-run question. Work the WHOLE queue in this run, item by item without pausing — never stop early to report partial progress or ask "continue?"; only the final report summarizes (counts: solved / dismissed / left open). If the context gets heavy, finish the current item, report the counts and how many remain, and say the next /linggen solve continues from there.

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. 22d ago Changed 7f3b0b51ec7d
  2. 1mo ago Changed · +2 lines b978d7e85d72
  3. 3mo ago First seen · 6 lines · 21 tokens per session scan A 4602ccfa89eb

Subscribe to this mod's changes

solve is a command published in the GitHub repository linggen/linggen-memory (111 stars, last pushed 13d ago), licensed MIT. It adds 21 tokens to every session and 405 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

solve compared with commands from other repositories

solve next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solvelinggen/linggen-memoryCommand11113d agoMITA21Claude Code
rust-teachmathisk2095/jko-claude-pluginsCommand31mo agoMITA39Claude Code
bmGoldziher/basemindCommand126todayMITA31Claude Code
cargo-clippyolorehq/oloreCommand119todayMITA0Claude Code
learnRamsbaby/jarvisCommand201mo agoMITA56Claude Code
unforgit-curateMiguelMedeiros/unforgitCommand12todayMITA0Claude Code
review-codechohra-med/expo_boilerplateCommand362mo agoMITA50Claude Code