gsr-learn

gsr-learn is a skill for Claude Code from kmajerowicz/get-shit-right. It costs 60 tokens per session (2,020 once invoked), scanned A, original, MIT.

A project-indexing procedure for GSR that scans an existing codebase, finds its documentation folder and technology stack, and updates CLAUDE.md, the agent's project-instructions file.

In plain words
What is it for?
Use it to prepare a new project for GSR or refresh the project information after significant code changes.
Why use it?
It reduces guesswork during onboarding and asks the human only when the files cannot answer a question.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the gsr plugin — 11 skills, 11 commands, 4 agents, 3 hooks shipped together

Good fit Use it to prepare a new project for GSR or refresh the project information after significant code changes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add kmajerowicz/get-shit-right
Claude Code
/plugin install gsr

Made for: Claude Code.

Or install gsr, the plugin that ships this one along with the rest of its 11 skills, 11 commands, 4 agents, 3 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 gsr-learn

README.md
[![agentmods](https://agentmods.dev/badge/skills/kmajerowicz/get-shit-right/learn/github.svg)](https://agentmods.dev/skills/kmajerowicz/get-shit-right/learn)
Your own site
<a href="https://agentmods.dev/skills/kmajerowicz/get-shit-right/learn"><img src="https://agentmods.dev/badge/skills/kmajerowicz/get-shit-right/learn/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 gsr-learn

Your own site · 80×15
<a href="https://agentmods.dev/skills/kmajerowicz/get-shit-right/learn"><img src="https://agentmods.dev/badge/skills/kmajerowicz/get-shit-right/learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,020 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.00060 $0.02020
Opus 5.5 $0.00024 $0.00808
Sonnet 5.5 $0.00012 $0.00404
Haiku 4.5 $0.00006 $0.00202

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

Security

Grade A, and why

gsr-learn 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 12d 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.

gsr/skills/learn/SKILL.md · 129 lines

How it starts

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

/gsr:learn — Learn Skill

You are executing the /gsr:learn command. Your job is to index the requested project or affected area and return a bounded assessment. Direct /gsr:learn authorizes indexing and relevant documentation updates only, never feature implementation, provisioning, deployment or a full pipeline.

This skill serves two use cases:

  1. First run — onboarding a new codebase into GSR (Start B or Start C)
  2. Re-run — refreshing after significant codebase changes

Fresh-context stage handoff

At a major stage or long-build increment, follow ${CLAUDE_PLUGIN_ROOT}/docs/patterns/stage-handoff.md. Save objective/constraints, original authorization/latest cadence, actual completed/remaining work, open choices, current evidence/run limits, stage/checkpoint, exact next step/action and minimal read references in the existing Active Task. Keep requirements in covered source documents. Recommend /clear then dalej after saving. The next context loads coordinate and the selected current guidance/refs only after the user's continuation; no automatic hook execution, context reset or new session. Direct commands remain scoped optional controls. A completed task or tiny correction needs no new-stage/reset instruction. Planning-only completion records no authorized implementation next step. Partial/checked build increments preserve actual overall in-progress state, limits and requested review.

Relevant installed skills

Read ${CLAUDE_PLUGIN_ROOT}/docs/patterns/skill-selection.md when selecting or resuming guidance. Use the host's current catalog and actual task/output, load the applicable SKILL.md, and reuse current guidance without redundant marketplace searches. A saved skill name or a keyword match is not proof of use. Record only useful source/ provider/applicability/version-or-identity/loaded-use observations in existing feature/ plan sections; unknown identity stays unknown. Check availability/current content at resume. Optional missing guidance permits authorized work; an essential missing capability requires only its actual access/install boundary. Denied installation is not retried through another downloader. No silent spending, publication or model switching.

Read the full file on GitHub · 129 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. 12d ago Changed · -74 lines 199126e9816e
  2. 2mo ago First seen · 203 lines · 60 tokens per session scan A 033d50c9423b

Subscribe to this mod's changes

gsr-learn is a skill published in the GitHub repository kmajerowicz/get-shit-right (6 stars, last pushed 2d ago), licensed MIT. It adds 60 tokens to every session and 2,020 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens