list
List Claude Code components. Actions: env-vars, sessions, settings, skills, tools.
What this skill does
# List Claude Code Components List various Claude Code components based on the requested action. ## Argument Routing | Action | Description | |--------|-------------| | `skills` (default) | List all available skills with descriptions | | `env-vars` | List environment variables (configured or researched) | | `sessions` | List recent sessions with sizes, ages, resumability | | `settings` | List settings.json configuration options | | `tools` | List core Claude Code tools with parameters | When invoked without arguments, default to `skills`. Parse `$ARGUMENTS` to determine the action. The first token is the action keyword. Remaining tokens are passed as sub-arguments to the action handler. --- ## Action: skills List ALL available Claude Code skills by running the list_skills.py script. ### Step 1: Find the Script Locate list_skills.py in the claude-ecosystem plugin: ```bash # Check installed plugins first find ~/.claude/plugins -name "list_skills.py" -path "*claude-ecosystem*" 2>/dev/null | head -1 ``` If not found, check current repo (for development): ```bash find . -name "list_skills.py" -path "*claude-ecosystem*" 2>/dev/null | head -1 ``` ### Step 2: Run the Script Execute with Python using the path found in Step 1: ```bash python "<found-path>/list_skills.py" ``` ### What the Script Scans The script finds ALL skills from: - **Personal skills**: `~/.claude/skills/*/SKILL.md` - **Project skills**: `.claude/skills/*/SKILL.md` (current working directory) - **Plugin skills**: `~/.claude/plugins/marketplaces/*/*/skills/*/SKILL.md` ### Output Format The script outputs formatted markdown: ```text ## Personal Skills (~/.claude/skills/) ### **skill-name** Description from SKILL.md frontmatter. --- ## Project Skills (.claude/skills/) ### **skill-name** Description from SKILL.md frontmatter. --- ## Plugin Skills ### **plugin-name:skill-name** Description from SKILL.md frontmatter. --- **Total: X skills** (Y personal, Z project, W plugin) ``` Output the script results directly - they are already formatted. --- ## Action: env-vars Research and list ALL known Claude Code environment variables from multiple sources, or show currently configured variables across all settings scopes. ### Sub-arguments | Argument | Description | |----------|-------------| | `--configured` | Show currently configured env vars from all settings files | | `--official-only` | Only show variables documented in official docs | | `--changelog-only` | Only extract from CHANGELOG.md | | `--full-research` | Run comprehensive MCP research (slower, more complete) | | (none) | Default: official docs + changelog extraction | ### Behavior Matrix | Arguments | Behavior | |-----------|----------| | (none) | Research: official docs + changelog | | `--configured` | Read current settings files only (no research) | | `--official-only` | Research: official docs only | | `--changelog-only` | Research: changelog extraction only | | `--full-research` | Research: all sources including MCP agents | ### Mode: --configured When `--configured` is passed, skip all research and read currently configured environment variables from all settings scopes. #### Settings File Hierarchy (Precedence: Enterprise < User < Project < Local) | Scope | Path | Description | |-------|------|-------------| | Enterprise | `~/.claude/enterprise/settings.json` | IT-managed defaults | | User/Global | `~/.claude/settings.json` | User preferences | | Project | `.claude/settings.json` | Project-specific settings | | Local | `.claude/settings.local.json` | Gitignored local overrides | #### Workflow 1. Read each settings file if it exists 2. Extract `env` section from each 3. Calculate effective values (later scopes override earlier) 4. Display merged view with source indication #### Output Format ```markdown ## Currently Configured Environment Variables | Variable | Value | Source | Overridden By | |----------|-------|--------|---------------| | DISABLE_TELEMETRY | "1" | user | project | | ANTHROPIC_API_KEY | "sk-***" | user | - | | CLAUDE_HOOK_LOG_DIR | "./logs" | project | - | | DISABLE_AUTOUPDATER | "0" | enterprise | - | ### By Scope **Enterprise** (~/.claude/enterprise/settings.json) - DISABLE_AUTOUPDATER = "0" **User** (~/.claude/settings.json) - DISABLE_TELEMETRY = "1" - ANTHROPIC_API_KEY = "sk-***" (masked) **Project** (.claude/settings.json) - DISABLE_TELEMETRY = "0" (overrides user) - CLAUDE_HOOK_LOG_DIR = "./logs" **Local** (.claude/settings.local.json) (none configured) ``` #### Security Note Mask sensitive values in output: - `ANTHROPIC_API_KEY` -> `"sk-***"` (show prefix only) - `AWS_*` credentials -> masked - `GOOGLE_*` credentials -> masked ### Mode: Research (Default) When no `--configured` flag, research environment variables from multiple sources. #### Step 1: Parallel Research via Agents Launch research agents in parallel to gather env var information from multiple sources. ##### Agent 1: MCP Research (full-research mode only) Spawn `mcp-research` agent: ```text Research Claude Code environment variables using perplexity and firecrawl. Search for: - "Claude Code environment variables configuration" - "anthropic claude cli env vars" - "ANTHROPIC_API_KEY CLAUDE_CODE environment" Extract ALL environment variables mentioned, including: - Variable name - Default value (if mentioned) - Purpose/description - Source URL Return structured findings with source citations. ``` ##### Agent 2: Official Documentation Spawn `claude-code-guide` agent: ```text First WebFetch https://code.claude.com/docs/en/claude_code_docs_map.md to find relevant doc pages about environment variables and settings. Then WebFetch these specific pages: - Settings/configuration pages - Environment variables documentation - Any pages mentioning ANTHROPIC_*, CLAUDE_*, DISABLE_*, ENABLE_* Do NOT use Skill tool (not available). Return complete env var tables with source URLs. ``` ##### Skill: Local Documentation Cache Invoke `docs-management` skill with query: ```text Search for "environment variables" and "env" in Claude Code documentation. Include any settings, configuration, or customization topics. ``` #### Step 2: Changelog Extraction WebFetch the CHANGELOG.md to extract environment variables: ```text URL: https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md ``` Extract all patterns matching: - `ANTHROPIC_*` - `CLAUDE_*` - `DISABLE_*` - `ENABLE_*` - `*_TIMEOUT` - `*_API_KEY` - `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` Note the version where each variable was introduced. #### Step 3: Consolidate and Categorize Merge findings from all sources, deduplicate, and categorize: | Category | Criteria | |----------|----------| | **OFFICIAL** | Documented on code.claude.com/docs | | **CHANGELOG** | In CHANGELOG but not in official docs | | **DISCOVERED** | Found via MCP research only | #### Step 4: Output Report Format the complete list as structured tables: ```markdown ## Claude Code Environment Variables ### Official (Documented) | Variable | Default | Purpose | Category | |----------|---------|---------|----------| | ANTHROPIC_API_KEY | (required) | API key for Anthropic API | Auth | | CLAUDE_CODE_USE_BEDROCK | "0" | Use AWS Bedrock instead of Anthropic API | Provider | | CLAUDE_CODE_USE_VERTEX | "0" | Use Google Vertex AI | Provider | | ... | ... | ... | ... | ### Changelog (Undocumented) | Variable | Default | Purpose | Version Added | |----------|---------|---------|---------------| | CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR | "0" | Keep project working directory | v2.x | | ... | ... | ... | ... | ### Discovered (MCP Research) | Variable | Default | Purpose | Source | |----------|---------|---------|--------| | ... | ... | ... | [source URL] | --- ## Sources - Official: https://code.claude.com/docs/en/settings - Changelog: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md - MCP: perplexity, firecrawl (if --full-research) ``` ### Known Enviro
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.