feat(adapters): add Codex and Claude client settings
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# Claude Code adapter
|
||||
|
||||
Claude Code uses global `CLAUDE.md`, `settings.json`, skills, and agents under the user profile. This adapter supplies client metadata; semantic content remains in `shared/`.
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"permissions": {
|
||||
"defaultMode": "auto",
|
||||
"allow": [
|
||||
"Agent"
|
||||
],
|
||||
"deny": [
|
||||
"Bash(git reset --hard*)",
|
||||
"Bash(git clean*)",
|
||||
"Bash(rm -rf*)",
|
||||
"Bash(Remove-Item -Recurse*)"
|
||||
]
|
||||
},
|
||||
"env": {
|
||||
"CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY": "5"
|
||||
},
|
||||
"statusLine": {
|
||||
"type": "command",
|
||||
"command": "__STATUSLINE_COMMAND__ \"__AI_CONFIG_ROOT__/statusline/__STATUSLINE_SCRIPT__\""
|
||||
},
|
||||
"hooks": {
|
||||
"Stop": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/__HOOK_SCRIPT__\"",
|
||||
"timeout": 20
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
name: {{name}}
|
||||
description: {{description}}
|
||||
---
|
||||
|
||||
{{instructions}}
|
||||
@@ -0,0 +1,3 @@
|
||||
# Codex adapter
|
||||
|
||||
Codex uses global `AGENTS.md`, `config.toml`, skills, and agent configuration under the user profile. This adapter supplies client metadata; semantic content remains in `shared/`.
|
||||
@@ -0,0 +1,20 @@
|
||||
approval_policy = "on-request"
|
||||
approvals_reviewer = "auto_review"
|
||||
sandbox_mode = "workspace-write"
|
||||
|
||||
[tui]
|
||||
status_line = ["model", "reasoning", "project-name", "git-branch", "context-window-size", "context-used", "used-tokens"]
|
||||
|
||||
[agents]
|
||||
enabled = true
|
||||
max_threads = 5
|
||||
|
||||
[features]
|
||||
hooks = true
|
||||
|
||||
[[hooks.Stop]]
|
||||
[[hooks.Stop.hooks]]
|
||||
type = "command"
|
||||
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/__HOOK_SCRIPT__"'
|
||||
command_windows = '__WINDOWS_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/__WINDOWS_HOOK_SCRIPT__"'
|
||||
timeout = 20
|
||||
@@ -0,0 +1,3 @@
|
||||
name = "{{name}}"
|
||||
description = "{{description}}"
|
||||
instructions = "{{instructions}}"
|
||||
@@ -0,0 +1,5 @@
|
||||
name claude_marketplace claude_plugin codex_marketplace codex_plugin
|
||||
Ponytail DietrichGebert/ponytail ponytail@ponytail DietrichGebert/ponytail ponytail@ponytail
|
||||
i-have-adhd ayghri/i-have-adhd i-have-adhd@i-have-adhd ayghri/i-have-adhd i-have-adhd@i-have-adhd
|
||||
Superpowers - superpowers@claude-plugins-official openai-curated-remote superpowers@openai-curated-remote
|
||||
Context7 upstash/context7 context7@context7-marketplace upstash/context7 context7@context7-marketplace
|
||||
|
Reference in New Issue
Block a user