mcpbeat Sign in

Gsd Intel Skill for Claude

Query, inspect, or refresh codebase intelligence files in .planning/intel/

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
196
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/coco-research/coco --skill gsd-intel

The instruction itself

9 sections, as written by the author

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.

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

Disabled message:

GSD > INTEL

Intel system is disabled. To activate:

  node $HOME/.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/.claude/get-shit-done/bin/gsd-tools.cjs intel query <term>

Parse the JSON output and display results:

  • If the output contains "disabled": true, display the disabled message from Step 1 and STOP
  • If no matches found, display: No intel matches for '<term>'. Try /gsd-intel refresh to build the index.
  • Otherwise, display matching entries grouped by intel file

STOP after displaying results. Do not spawn an agent.

Step 2b -- Status

Run:

node $HOME/.claude/get-shit-done/bin/gsd-tools.cjs intel status

Parse the JSON output and display each intel file with:

  • File name
  • Last updated_at timestamp
  • STALE or FRESH status (stale if older than 24 hours or missing)

STOP after displaying status. Do not spawn an agent.

Step 2c -- Diff

Run:

node $HOME/.claude/get-shit-done/bin/gsd-tools.cjs intel diff

Parse the JSON output and display:

  • Added entries since last snapshot
  • Removed entries since last snapshot
  • Changed entries since last snapshot

If no snapshot exists, suggest running refresh first.

STOP after displaying diff. Do not spawn an agent.


Step 3 -- Refresh (Agent Spawn)

Display before spawning:

GSD > Spawning intel-updater agent to analyze codebase...

Spawn a Task:

Task(
  description="Refresh codebase intelligence files",
  prompt="You are the gsd-intel-updater agent. Your job is to analyze this codebase and write/update intelligence files in .planning/intel/.

Project root: ${CWD}
gsd-tools path: $HOME/.claude/get-shit-done/bin/gsd-tools.cjs

Instructions:
1. Analyze the codebase structure, dependencies, APIs, and architecture
2. Write JSON intel files to .planning/intel/ (stack.json, api-map.json, dependency-graph.json, file-roles.json, arch-decisions.json)
3. Each file must have a _meta object with updated_at timestamp
4. Use gsd-tools intel extract-exports <file> to analyze source files
5. Use gsd-tools intel patch-meta <file> to update timestamps after writing
6. Use gsd-tools intel validate to check your output

When complete, output: ## INTEL UPDATE COMPLETE
If something fails, output: ## INTEL UPDATE FAILED with details."
)

Wait for the agent to complete.


Step 4 -- Post-Refresh Summary

After the agent completes, run:

node $HOME/.claude/get-shit-done/bin/gsd-tools.cjs intel status

Display a summary showing:

  • Which intel files were written or updated
  • Last update timestamps
  • Overall health of the intel index

Anti-Patterns

  • DO NOT spawn an agent for query/status/diff operations -- these are inline CLI calls
  • DO NOT modify intel files directly -- the agent handles writes during refresh
  • DO NOT skip the config gate check
  • DO NOT use the gsd-tools config get-value CLI for the config gate -- it exits on missing keys

Other skills for the same job

different authors, same section of the catalogue
GitHub Project Management
by ComeOnOliver
×3

Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning

14k tokens
Folder Structure Blueprint Generator
by github
vendor ×1

Comprehensive technology-agnostic prompt for analyzing and documenting project folder structures. Auto-detects project types (.NET, Java, React, Angular, Python, Node.js, Flutter), generates detailed blueprints with visualization options, naming conventions, file placement patterns, and extension templates for maintaining consistent code organization across diverse technology stacks.

3k tokens
Sequential Thinking
by mrgoonie
×1

Use when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope. Ideal for multi-stage analysis, design planning, problem decomposition, or tasks with initially unclear scope.

4k tokens
Openserv Multi Agent Workflows
by internet-court
×1

Multi-agent workflow examples to work together on the OpenServ Platform. Covers agent discovery, multi-agent workspaces, task dependencies, and workflow orchestration using the Platform Client. Read reference.md for the full API reference. Read openserv-agent-sdk and openserv-client for building and running agents.

24k tokens
Caveman Compress
by HoangNguyen0403
×1

> Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md.

7k tokens scripts
API Patterns
by lingxling
×1

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

5k tokens scripts
Github Workflow Automation
by lingxling
×1

Patterns for automating GitHub workflows with AI assistance, inspired by [Gemini CLI](https://github.com/google-gemini/gemini-cli) and modern DevOps practices.

5k tokens
Domain Identification Grouping
by christophacham
×1

Groups existing components into logical business domains to plan service-based architecture. Use when asking "which components belong together?", "group these into services", "organize by domain", "component-to-domain mapping", or planning service extraction from an existing codebase. Do NOT use for identifying new domains from scratch (use domain-analysis) or analyzing coupling (use coupling-analysis).

10k tokens

How to use it

Copy the folder

Take coco-research/gsd-intel from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.