一键导入
local-config
This skill should be used for configuring devloop project settings via .devloop/local.md, git workflow preferences, commit settings, review options
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
This skill should be used for configuring devloop project settings via .devloop/local.md, git workflow preferences, commit settings, review options
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create or update the project security baseline, profile, suppressions file, and gitignore entries for security scans
Fix or guide remediation for a specific security finding from the latest scan report
Run a security assessment using deterministic static analysis tools with LLM-powered triage
Inspect and optionally install security scanning tools for the security plugin
Query ctx memory and inject results into context
Show ctx memory status (node counts, types, tiers, tokens)
| name | local-config |
| description | This skill should be used for configuring devloop project settings via .devloop/local.md, git workflow preferences, commit settings, review options |
| when_to_use | Configuring devloop settings, .devloop/local.md, project preferences |
Project-specific devloop settings via .devloop/local.md (NOT git-tracked).
YAML frontmatter followed by optional markdown notes:
---
git:
auto-branch: false # Create branch when plan starts
branch-pattern: "feat/{slug}" # {slug}, {date}, {user}
main-branch: main
pr-on-complete: ask # ask | always | never
worktree_isolation: false # Isolate swarm workers in git worktrees (opt-in)
commits:
style: conventional # conventional | simple
scope-from-plan: true
sign: false
review:
before-commit: ask # ask | always | never
use-plugin: null # null | code-review | pr-review-toolkit
github:
link-issues: false # Enable GH issue linking
auto-close: ask # ask | always | never
comment-on-complete: true
tokens:
token_budget: 4000 # Max tokens for gather-task-context.sh output (default: 4000)
cache_friendly_context: true # Order agent prompts for prompt cache hits (default: true)
---
| Setting | Values | Default |
|---|---|---|
git.auto-branch | true/false | false |
git.branch-pattern | Pattern with {slug}, {date}, {user} | feat/{slug} |
git.pr-on-complete | ask/always/never | ask |
git.worktree_isolation | true/false | false |
commits.style | conventional/simple | conventional |
commits.sign | true/false | false |
review.before-commit | ask/always/never | ask |
review.use-plugin | null/code-review/pr-review-toolkit | null |
github.link-issues | true/false | false |
github.auto-close | ask/always/never | ask |
github.comment-on-complete | true/false | true |
fresh_threshold | 5-50 | 10 |
context_threshold | 50-95 | 70 |
tokens.token_budget | 1000-20000 | 4000 |
tokens.cache_friendly_context | true/false | true |
---
git:
auto-branch: true
---
---
git:
auto-branch: true
pr-on-complete: always
commits:
style: conventional
sign: true
review:
before-commit: always
use-plugin: pr-review-toolkit
---
---
git:
auto-branch: true
pr-on-complete: always
github:
link-issues: true
auto-close: always
comment-on-complete: true
---
When running /devloop:run-swarm with many parallel tasks, you can enable git worktree
isolation so each worker operates in its own isolated branch. This prevents workers from
overwriting each other's in-progress changes.
---
git:
worktree_isolation: true # Each swarm worker runs in an isolated git worktree
---
Effect: Equivalent to passing --worktrees to every /devloop:run-swarm invocation.
The orchestrator merges results back after each batch. Default is false — opt-in only.
When to enable:
When to leave off (default):
---
fresh_threshold: 10 # Tasks before suggesting /devloop:fresh (default: 10)
context_threshold: 70 # Exit ralph loop at this context % (default: 70)
---
| Setting | Values | Default | Description |
|---|---|---|---|
fresh_threshold | 5-50 | 10 | Tasks completed before suggesting a fresh restart. Set higher (20-30) for 1M context models. |
context_threshold | 50-95 | 70 | Context usage % that triggers automatic ralph loop exit. |
Control how devloop manages context size and prompt caching when spawning agents.
---
tokens:
token_budget: 4000 # Max tokens for context gathering (default: 4000)
cache_friendly_context: true # Order agent prompts for prompt cache hits (default: true)
---
Passed as --token-budget N to gather-task-context.sh. The script estimates file sizes (~4 chars per token) and stops collecting files once the budget is reached. Files are prioritized:
When to adjust:
fresh_threshold when raising this, as heavier context exhausts session budget faster.When true (default), agent prompts are structured with static content first (instructions, phase name, project conventions) and dynamic content last (task description, gathered file contents). This maximizes Claude's prompt cache hit rate when multiple agents are spawned in the same session.
Effect: On the 2nd+ agent spawn in a parallel batch, the static prefix is already cached -- reducing latency and API cost. The first spawn always pays the full cost; subsequent spawns only pay for the dynamic suffix.
When to disable: If you are debugging agent prompt content and need to see the exact prompt structure without reordering, set cache_friendly_context: false. This has no other effect.
| Setting | Values | Default | Description |
|---|---|---|---|
tokens.token_budget | 1000-20000 | 4000 | Max tokens for gather-task-context.sh. Lower = faster/leaner; higher = more context. |
tokens.cache_friendly_context | true/false | true | Put static prompt content first for cache hits. Disable only for debugging. |
---
plugins:
superpowers-suggestions: false # Disable seeAlso to superpowers skills
---
.devloop/local.md directly; changes take effect on next command${CLAUDE_PLUGIN_ROOT}/scripts/parse-local-config.sh.gitignore to keep local-only