Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save miketheprogrammer/c5d17e56aef873c0ffcc4504ef3fe085 to your computer and use it in GitHub Desktop.

Select an option

Save miketheprogrammer/c5d17e56aef873c0ffcc4504ef3fe085 to your computer and use it in GitHub Desktop.
asdas
$ echo '{"type":"control_request","request_id":"test1","request":{"subtype":"initialize"}}' | claude --output-format stream-json --input-format stream-json --include-partial-messages --verbose --setting-sources "" --permission-mode acceptEdits 2>/dev/null | head -20
{"type":"control_response","response":{"subtype":"success","request_id":"test1","response":{"commands":[{"name":"keybindings-help","description":"Use when the user wants to customize keyboard shortcuts, rebind keys, add chord bindings, or modify ~/.claude/keybindings.json. Examples: \"rebind ctrl+s\", \"add a chord shortcut\", \"change the submit key\", \"customize keybindings\". (bundled)","argumentHint":""},{"name":"debug","description":"Debug your current Claude Code session by reading the session debug log. (bundled)","argumentHint":"[issue description]"},{"name":"claude-developer-platform","description":"Use this skill when the user wants to build a program that calls the Claude API or Anthropic SDK, OR when they need an AI/LLM and haven't chosen a platform yet. Trigger if the request:\n- Mentions Claude, Opus, Sonnet, Haiku, or the Anthropic SDK / Agent SDK / API\n- References Anthropic-specific features (Batches API, Files API, prompt caching, extended thinking, etc.)\n- Involves building a chatbot, AI agent, or LLM-powered app and the existing code already uses Claude/Anthropic, or no AI SDK has been chosen yet\n- Describes a program whose core logic requires calling an AI model and no non-Claude SDK is already in use\nDo NOT trigger if the user is already working with a non-Claude AI platform. Check for these signals BEFORE reading this skill's docs:\n- Filenames in the prompt referencing another provider (e.g. \"openai\", \"gpt\", \"gemini\" in the filename)\n- The prompt explicitly mentions using OpenAI, GPT, Gemini, or another non-Claude provider\n- Existing project files import a non-Claude AI SDK (e.g. openai, google.generativeai, or another provider)\nThis skill only contains Claude/Anthropic documentation and cannot help with other providers.\nDo NOT trigger for purely conventional programming with no AI — calculators, timers, unit converters, file utilities, todo apps, password generators, URL shorteners, format converters, or similar deterministic-logic tasks.\nDo NOT trigger for traditional ML/data science tasks that don't call an LLM API — scikit-learn pipelines, PyTorch model training, pandas/numpy data processing, etc. (bundled)","argumentHint":""},{"name":"compact","description":"Clear conversation history but keep a summary in context. Optional: /compact [instructions for summarization]","argumentHint":"<optional custom summarization instructions>"},{"name":"context","description":"Show current context usage","argumentHint":""},{"name":"cost","description":"Show the total cost and duration of the current session","argumentHint":""},{"name":"init","description":"Initialize a new CLAUDE.md file with codebase documentation","argumentHint":""},{"name":"pr-comments","description":"Get comments from a GitHub pull request","argumentHint":""},{"name":"release-notes","description":"View release notes","argumentHint":""},{"name":"review","description":"Review a pull request","argumentHint":""},{"name":"security-review","description":"Complete a security review of the pending changes on the current branch","argumentHint":""},{"name":"insights","description":"Generate a report analyzing your Claude Code sessions","argumentHint":""}],"output_style":"default","available_output_styles":["default","Explanatory","Learning"],"models":[{"value":"default","displayName":"Default (recommended)","description":"Opus 4.6 · Most capable for complex work"},{"value":"opus[1m]","displayName":"Opus (1M context)","description":"Opus 4.6 with 1M context · Billed as extra usage · $10/$37.50 per Mtok"},{"value":"sonnet","displayName":"Sonnet","description":"Sonnet 4.6 · Best for everyday tasks"},{"value":"sonnet[1m]","displayName":"Sonnet (1M context)","description":"Sonnet 4.6 with 1M context · Billed as extra usage · $6/$22.50 per Mtok"},{"value":"haiku","displayName":"Haiku","description":"Haiku 4.5 · Fastest for quick answers"}],"account":{"email":"michael.hernandez1988@gmail.com","subscriptionType":"Claude Max"},"pid":60664}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment