thought

thought is a command for coding agents from GaZmagik/claude-memory-plugin. It costs 17 tokens per session (2,232 once invoked), scanned A, original, MIT.

A command for structured discussion of a topic by creating a shared thinking document and optionally asking several agents or writing styles for their views. It uses a memory tool and requires that the memory skill be activated first.

In plain words
What is it for?
Deliberating about a topic, comparing expert viewpoints, and producing a concluding thinking document.
Why use it?
It helps collect different perspectives before reaching a conclusion. The input does not guarantee which agents or writing styles are available in a particular installation.

Command

Part of the claude-memory-plugin plugin — 1 skill, 5 commands, 2 agents, 7 hooks shipped together

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 commands/gazmagik/claude-memory-plugin/thought
Clone the repo
git clone --depth 1 https://github.com/GaZmagik/claude-memory-plugin

Or install claude-memory-plugin, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 2 agents, 7 hooks.

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 thought

README.md
[![agentmods](https://agentmods.dev/badge/commands/gazmagik/claude-memory-plugin/thought.svg)](https://agentmods.dev/commands/gazmagik/claude-memory-plugin/thought)
Your own site
<a href="https://agentmods.dev/commands/gazmagik/claude-memory-plugin/thought"><img src="https://agentmods.dev/badge/commands/gazmagik/claude-memory-plugin/thought.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,232 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.00017 $0.02232
Opus 5 $0.00009 $0.01116
Sonnet 5 $0.00003 $0.00446
Haiku 4.5 $0.00002 $0.00223

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

Security

Grade A, and why

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

commands/thought.md · 280 lines

How it starts

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

User Input

$ARGUMENTS

Goal

Create a thinking document for structured deliberation on a topic, optionally invoking multiple agents with different output styles to gather diverse perspectives before concluding.

Prerequisites

CRITICAL: Before running any memory commands, you MUST activate the memory skill first using the Skill tool:

Skill: memory

This ensures the skill is loaded and the memory CLI command is available (installed via bun link). Without this step, the commands below may not work correctly.

Discovering Available Agents and Styles

To see which agents and output styles are available in your environment, run:

memory help think

This displays:

  • AVAILABLE AGENTS: Domain experts like curator, typescript-expert, security-code-expert, etc.
  • AVAILABLE OUTPUT STYLES: Personality styles like Architect, Devils-Advocate, Pragmatist, Simplifier, etc.

Note: Available agents and styles vary by installation. Always check memory help think for your specific environment.

Execution Steps

1. Parse Arguments

Extract from $ARGUMENTS:

  • topic (required): The deliberation topic (first positional argument or quoted string)
  • --calls N (optional): Minimum number of agent calls to make before concluding (default: 0 = manual mode)
  • --agents a1,a2 (optional): Comma-separated list of required agents to invoke
  • --styles s1,s2 (optional): Comma-separated list of required styles to apply

Examples:

"Should we use Redis or PostgreSQL for caching?"
"API design for auth module" --calls 5 --agents typescript-expert,security-code-expert --styles Architect,Devils-Advocate

2. Create Thinking Document

memory think create "<topic>"

This creates a new thinking document and sets it as the current document for subsequent operations.

3. Add Initial Framing (Optional)

If the user provided context beyond just the topic, add an initial framing thought:

Read the full file on GitHub · 280 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 · 280 lines · 17 tokens per session scan A 39529c9eb8bc

Subscribe to this mod's changes

thought is a command published in the GitHub repository GaZmagik/claude-memory-plugin (6 stars, last pushed 5mo ago), licensed MIT. It adds 17 tokens to every session and 2,232 once invoked, about $0.0001 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.