بنقرة واحدة
cwf-config
Configure CWF system paths and settings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Configure CWF system paths and settings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create sub-implementation task within existing task (v2.0)
Guide user through planning phase
Guide user through implementation execution phase
Guide user through maintenance phase
Guide user through retrospective phase
Guide user through rollout phase
| name | cwf-config |
| description | Configure CWF system paths and settings |
| user-invocable | true |
| allowed-tools | ["Read","Write","Bash"] |
This step: Configure CWF system settings (init, list, or reset).
Not this step: Initialising CIG (use /cwf-init), creating tasks, or running workflows.
Task arguments: {arguments}
First: Run .cwf/scripts/command-helpers/context-manager location using the Bash tool to confirm git root.
Mandatory context (run before proceeding):
ls -la ~/.cwf/ .cwf/ 2>/dev/null || echo "No configs found" using the Bash tool to check existing config directories.cat .cwf/autoload.yaml 2>/dev/null || echo "No autoload config found" using the Bash tool to load current autoload configuration.Parse arguments: [init|list|reset|tool-check <on|off|seed>]
~/.cwf/Built-in Paths (hardcoded for broken config recovery):
~/.cwf/autoload.yaml<git-root>/.cwf/autoload.yaml~/.cwf/ with subdirectories (utils, templates)~/.cwf/autoload.yaml with utils and template mappingsThe Bash tool-check framework ships inert (no rules). This surface is the single writer for enabling it. Dispatch the verb straight to the helper — it performs the symlink-safe, atomic writes and echoes the resulting state:
.cwf/scripts/command-helpers/tool-check-seed <on|off|seed>
seed — merge the regex-only starter rules into the checked-in layer
({root}/.cwf/tool-check/bash/settings.json) and clear a project-local off.
The checked-in file is a normal tracked file; committing it is the user's
decision — surface the helper's note, do not commit it automatically.on / off — flip the project-local kill-switch
(settings.local.json, gitignored); an ephemeral, per-checkout toggle that
never dirties tracked state.Relay the helper's stdout verbatim. To inspect the effective state afterwards,
run .cwf/scripts/hooks/pretooluse-bash-tool-check --check (human terminal
only — never pipe its output back into agent context). See
.cwf/docs/tool-check-rules.md for the layer/precedence model.
Configuration Priority: Project .cwf/autoload.yaml > Global ~/.cwf/autoload.yaml > Built-in defaults
Error Handling: If config directory creation fails, check permissions and disk space. If user intent unclear, show current config status and ask for clarification.