claudeforcodex
БесплатноБез исполняемых скриптовНе проверенClaude Code CLI configuration guide for Codex. Use when users ask about: claude code config, ~/.claude/settings.json, claude plugins, claude agents, claude…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Claude Code CLI Configuration Guide
Configure and extend Anthropic's Claude Code CLI for optimal development workflows.
Quick Reference
| Task | Command/Location |
|---|---|
| Config file | ~/.claude/settings.json |
| Project config | .claude/settings.json (in project root) |
| Plugins | ~/.claude/plugins/ or marketplace |
| Add MCP server | Edit .mcp.json or plugin |
| Skills location | Plugin skills/ directories |
Core Configuration
Edit ~/.claude/settings.json for global settings:
{
"permissions": {
"allow": ["Bash(*)", "Read(*)", "Write(*)"],
"deny": []
},
"env": {
"ANTHROPIC_API_KEY": "sk-..."
}
}
Project-level: Create .claude/settings.json in project root to override.
Permission System
Claude Code uses explicit tool permissions:
{
"permissions": {
"allow": [
"Bash(*)", // All bash commands
"Read(*)", // All file reads
"Write(~/projects/*)", // Write only in projects
"mcp:server_name:*" // All tools from MCP server
],
"deny": [
"Bash(rm -rf *)" // Block dangerous commands
]
}
}
Permission patterns:
Tool(*)- Allow all uses of toolTool(/path/*)- Allow with path prefixmcp:server:tool- Specific MCP tool
Plugin System
Claude Code has two plugin patterns:
Standalone Plugin (entire repo = one plugin)
my-plugin/
├── .claude-plugin/
│ └── plugin.json # Required for standalone
├── commands/
├── agents/
├── skills/
│ └── my-skill/
│ └── SKILL.md # ONE level deep only!
├── hooks/
└── .mcp.json
Marketplace Plugin (repo contains multiple plugins)
my-marketplace/
├── .claude-plugin/
│ └── marketplace.json # Lists all plugins
└── plugins/
├── plugin-a/
│ ├── plugin.json # AT ROOT (not .claude-plugin/)
│ └── skills/
│ └── skill-name/
│ └── SKILL.md
└── plugin-b/
└── plugin.json
Critical Rules:
- Marketplace plugins:
plugin.jsonat plugin root, NOT in.claude-plugin/ - Skills ONE level deep:
skills/name/SKILL.md- NOskills/a/skills/b/ - No plugin.json per skill - only one per plugin
- Explicit skills array in marketplace.json (recommended)
Install plugin:
claude plugins add /path/to/plugin
claude plugins add https://github.com/user/plugin
# Install specific branch or tag (v2.0.28+)
claude plugins add https://github.com/user/plugin#develop
claude plugins add https://github.com/user/plugin#v1.0.0
Team sharing: Add to .claude/settings.json:
{
"extraKnownMarketplaces": [
"https://github.com/company/plugins#stable"
]
}
Commands (Slash Commands)
Create commands/name.md:
---
description: Brief description for autocomplete
argument-hint: "[optional args]"
model: sonnet
allowed-tools:
- Bash
- Read
context: fork
hooks:
PostToolUse:
- matcher: "Bash"
hooks:
- type: command
command: "${CLAUDE_PLUGIN_ROOT}/scripts/notify.sh"
---
# Command Name
Instructions Claude follows when user types /name
Frontmatter fields:
description(required) - Help text (<60 chars)argument-hint- Document expected argumentsmodel- Override model (opus/sonnet/haiku)allowed-tools- Restrict available tools (YAML list)context: fork- Run in forked sub-agentagent- Agent type for executionhooks- Command-scoped hooksdisable-model-invocation- Prevent SlashCommand tool calls
Invoke: /plugin-name:command-name or /command-name
Agents (Subagents)
Create agents/name.md:
---
name: agent-name
description: "What this agent specializes in. Include trigger phrases."
model: sonnet
tools:
- Bash
- Read
- Write
- Edit
- Glob
- Grep
skills:
- skill-name
permissionMode: default
disallowedTools:
- WebSearch
hooks:
Stop:
- hooks:
- type: prompt
prompt: "Verify work is complete before stopping."
---
# Agent Name
System prompt and instructions for the agent.
Frontmatter fields:
name(required) - Agent identifier (lowercase, hyphens)description(required) - When/why to use, include trigger phrasesmodel- opus/sonnet/haiku (default: inherit)tools- Restrict available tools (YAML list, omit for all)skills- Auto-load specific skillspermissionMode- default/acceptEdits/plan/bypassPermissionsdisallowedTools- Explicitly block toolshooks- Agent-scoped hooks (PreToolUse, PostToolUse, Stop)
Invoke: claude --agent plugin-name:agent-name
Spawn from Claude:
Task(subagent_type="plugin:agent", prompt="Do something")
Skills (Auto-Knowledge)
Create skills/name/SKILL.md:
---
name: skill-name
description: "When to trigger this skill. Be specific about keywords and contexts."
user-invocable: true
model: sonnet
context: fork
allowed-tools:
- Read
-
Установить claudeforcodex в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл claudeforcodex?
Claude Code CLI configuration guide for Codex. Use when users ask about: claude code config, ~/.claude/settings.json, claude plugins, claude agents, claude skills, claude hooks, claude mcp servers, or integrating tools with Claude Code.
Как установить скилл claudeforcodex?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claudeforcodex запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic