gsd:intel

gsd:intel is a command for Claude Code from lalitnayyar/finally. It costs 21 tokens per session (1,343 once invoked), scanned A, a copy of gsd:intel, MIT.

A command for querying, inspecting, or refreshing codebase intelligence files stored in `.planning/intel/`. It only runs when the intelligence system is enabled in the project configuration.

In plain words
What is it for?
Use it to refresh the codebase index or inspect existing intelligence information for planning work.
Why use it?
It gives the workflow a way to check whether codebase intelligence is available and avoid using missing or disabled indexes.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/lnayyar/projects/CourseAIVibeCodeUdmey/finally/.claude/get-shit-done/bin/gsd-tools.cjs.

Good fit Use it to refresh the codebase index or inspect existing intelligence information for planning work.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

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 gsd:intel

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/lalitnayyar/finally/intel"><img src="https://agentmods.dev/badge/commands/lalitnayyar/finally/intel.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 1,343 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 100% copy Near-identical to another mod 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.01343
Opus 5.5 $0.00008 $0.00537
Sonnet 5.5 $0.00004 $0.00269
Haiku 4.5 $0.00002 $0.00134

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

Security

Grade A, and why

gsd:intel 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 13d 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.

Origin

This is a copy

100% identical to gsd:intel — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/gsd/intel.md · 180 lines

How it starts

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

STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's command system. Using the Read tool on this file wastes tokens. Begin executing Step 0 immediately.

Step 0 -- Banner

Before ANY tool calls, display this banner:

GSD > INTEL

Then proceed to Step 1.

Step 1 -- Config Gate

Check if intel is enabled by reading .planning/config.json directly using the Read tool.

DO NOT use the gsd-tools config get-value command -- it hard-exits on missing keys.

  1. Read .planning/config.json using the Read tool
  2. If the file does not exist: display the disabled message below and STOP
  3. Parse the JSON content. Check if config.intel && config.intel.enabled === true
  4. If intel.enabled is NOT explicitly true: display the disabled message below and STOP
  5. If intel.enabled is true: proceed to Step 2

Disabled message:

GSD > INTEL

Intel system is disabled. To activate:

  node /home/lnayyar/projects/CourseAIVibeCodeUdmey/finally/.claude/get-shit-done/bin/gsd-tools.cjs config-set intel.enabled true

Then run /gsd-intel refresh to build the initial index.

Step 2 -- Parse Argument

Parse $ARGUMENTS to determine the operation mode:

Argument Action
query <term> Run inline query (Step 2a)
status Run inline status check (Step 2b)
diff Run inline diff check (Step 2c)
refresh Spawn intel-updater agent (Step 3)
No argument or unknown Show usage message

Usage message (shown when no argument or unrecognized argument):

GSD > INTEL

Usage: /gsd-intel <mode>

Modes:
  query <term>  Search intel files for a term
  status        Show intel file freshness and staleness
  diff          Show changes since last snapshot
  refresh       Rebuild all intel files from codebase analysis

Step 2a -- Query

Run:

node /home/lnayyar/projects/CourseAIVibeCodeUdmey/finally/.claude/get-shit-done/bin/gsd-tools.cjs intel query <term>

Read the full file on GitHub · 180 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. 13d ago First seen · 180 lines · 21 tokens per session scan A cfd8df82b340

Subscribe to this mod's changes

gsd:intel is a command published in the GitHub repository lalitnayyar/finally (0 stars, last pushed 6mo ago), licensed MIT. It adds 21 tokens to every session and 1,343 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to gsd:intel, differing in 12 lines, and is treated as a copy.