graphite-skill
CommunityAutomate Git/Graphite workflows, keep AI context pristine.
Authorslamb2k
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Verbose output from Git and Graphite CLI commands can quickly exhaust an AI's context window, degrading its reasoning and limiting the number of operations it can perform. This skill automatically optimizes these interactions, dramatically improving context efficiency.
Core Features & Use Cases
- Automatic Context Optimization: Uses a SessionStart hook to inject patterns that automatically delegate verbose Git/Graphite operations to a subagent.
- Subagent Isolation: The subagent processes large CLI outputs (e.g.,
gt stackJSON,git log --graph) in its isolated context, returning only concise, actionable summaries (<50 tokens) to the main agent. - Zero-Friction Workflow: Activates automatically at session start, requiring no manual invocation from the user.
- Use Case: When you ask "Check my Graphite stack", instead of receiving 15KB of raw JSON, the skill automatically delegates the command, processes the output, and returns a brief summary like "✓ feature/auth | 3 PRs | Review #456", preserving your AI's context for higher-level reasoning.
Quick Start
Run the install script for the graphite-skill in your project directory. Then, start Claude Code and ask "Check my Graphite stack". Observe the concise summary returned, demonstrating automatic context optimization.
Dependency Matrix
Required Modules
jq
Components
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: graphite-skill Download link: https://github.com/slamb2k/mad-skills/archive/main.zip#graphite-skill Please download this .zip file, extract it, and install it in the .claude/skills/ directory.