Skip to content

Instantly share code, notes, and snippets.

@disler
Last active February 3, 2026 13:39
Show Gist options
  • Select an option

  • Save disler/d9f1285892b9faf573a0699aad70658f to your computer and use it in GitHub Desktop.

Select an option

Save disler/d9f1285892b9faf573a0699aad70658f to your computer and use it in GitHub Desktop.
IndyDevDan's Skill, Subagent, and Slash Command VSCode Snippets

VS Code Snippets for Claude Code / Agentic Engineering

Add to: Cmd+Shift+P > "Snippets: Configure User Snippets" > global-snippets.code-snippets

Watch how we use these code snippets here

https://youtu.be/u5GkG71PkR0

Last Updated

01/26/2026

Snippet Prefixes

Prefix Description
agp Agentic prompt with frontmatter
agpn Agentic prompt no frontmatter
agsk Agent Skill template (SKILL.md)
agag Agent Subagent template (.claude/agents/*.md)

See what we're working on now

{
"agentic prompt engineering": {
"prefix": "agp",
"body": [
"---",
"model: opus",
"description: qqq",
"argument-hint: [arg1] [arg2]",
"allowed-tools: Task, TaskOutput, Bash, Glob, Grep, Read, Edit, Write, NotebookEdit, WebFetch, TodoWrite, WebSearch, KillShell, AskUserQuestion, Skill, EnterPlanMode, ExitPlanMode",
"context: fork",
"agent: general-purpose",
"disable-model-invocation: false",
"hooks:",
" PreToolUse:",
" - matcher: \"Bash\"",
" hooks:",
" - type: command",
" command: \"echo 'pre-hook'\"",
" once: true",
" PostToolUse:",
" - matcher: \"Edit|Write\"",
" hooks:",
" - type: command",
" command: \"echo 'post-hook'\"",
" once: true",
" Stop:",
" - hooks:",
" - type: command",
" command: \"echo 'stop-hook'\"",
" once: true",
"---",
"",
"# Purpose",
"",
"qqq",
"",
"## Variables",
"",
"qqq",
"",
"## Codebase Structure",
"",
"qqq",
"",
"## Instructions",
"",
"qqq",
"",
"## Workflow",
"",
"qqq",
"",
"## Report",
"",
"qqq",
""
],
"description": "agentic prompt with frontmatter"
},
"agentic prompt engineering no frontmatter": {
"prefix": "agpn",
"body": [
"# Purpose",
"",
"qqq",
"",
"## Variables",
"",
"qqq",
"",
"## Codebase Structure",
"",
"qqq",
"",
"## Instructions",
"",
"qqq",
"",
"## Workflow",
"",
"qqq",
"",
"## Report",
"",
"qqq",
""
],
"description": "agentic prompt no frontmatter"
},
"Agent Skill Template": {
"prefix": "agsk",
"body": [
"---",
"name: qqq-skill-name",
"description: qqq What this skill does. Use when qqq trigger conditions.",
"allowed-tools: Task, TaskOutput, Bash, Glob, Grep, Read, Edit, Write, NotebookEdit, WebFetch, TodoWrite, WebSearch, KillShell, AskUserQuestion, Skill, EnterPlanMode, ExitPlanMode",
"model: opus",
"context: fork",
"agent: general-purpose",
"hooks:",
" PreToolUse:",
" - matcher: \"Bash\"",
" hooks:",
" - type: command",
" command: \"echo 'pre-hook'\"",
" once: true",
" PostToolUse:",
" - matcher: \"Edit|Write\"",
" hooks:",
" - type: command",
" command: \"echo 'post-hook'\"",
" Stop:",
" - hooks:",
" - type: command",
" command: \"echo 'stop-hook'\"",
"user-invocable: true",
"disable-model-invocation: false",
"---",
"",
"# qqq Skill Title",
"",
"## Purpose",
"",
"qqq",
"",
"## Variables",
"",
"SOME_VAR: \"qqq\"",
"",
"## Instructions",
"",
"qqq",
"",
"## Workflow",
"",
"1. qqq",
"2. qqq",
"3. qqq",
"",
"## Examples",
"",
"qqq",
"",
"## Report",
"",
"qqq",
""
],
"description": "Agent Skill template with all frontmatter options (SKILL.md)"
},
"Agent Subagent Template": {
"prefix": "agag",
"body": [
"---",
"name: qqq-agent-name",
"description: qqq What this agent does. Use proactively when qqq trigger conditions.",
"tools: Task, TaskOutput, Bash, Glob, Grep, Read, Edit, Write, NotebookEdit, WebFetch, TodoWrite, WebSearch, KillShell, AskUserQuestion, Skill, EnterPlanMode, ExitPlanMode",
"disallowedTools: Write, Edit",
"model: opus",
"permissionMode: default",
"skills:",
" - skill-name-1",
" - skill-name-2",
"hooks:",
" PreToolUse:",
" - matcher: \"Bash\"",
" hooks:",
" - type: command",
" command: \"echo 'pre-hook'\"",
" once: true",
" PostToolUse:",
" - matcher: \"Edit|Write\"",
" hooks:",
" - type: command",
" command: \"echo 'post-hook'\"",
" Stop:",
" - hooks:",
" - type: command",
" command: \"echo 'stop-hook'\"",
"color: cyan",
"---",
"",
"# qqq Agent Title",
"",
"## Purpose",
"",
"You are qqq purpose definition.",
"",
"## Instructions",
"",
"qqq",
"",
"## Workflow",
"",
"When invoked, follow these steps:",
"",
"1. qqq",
"2. qqq",
"3. qqq",
"",
"## Report",
"",
"qqq",
""
],
"description": "Agent Subagent template with all frontmatter options (.claude/agents/*.md)"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment