Agent skill
config-reader
Read and manage daplug configuration from CLAUDE.md using <daplug_config> blocks, with legacy fallback and migration support.
Install this agent skill to your Project
npx add-skill https://github.com/cruzanstx/daplug/tree/main/skills/config-reader
SKILL.md
Daplug Config Reader
Centralized configuration reader/migrator for daplug settings stored in <daplug_config> blocks inside CLAUDE.md. Provides backwards compatibility with legacy plaintext settings and safe migrations.
When to Use This Skill
- Any command/skill needs daplug settings (preferred agent, worktree dir, llms_txt dir, ai usage awareness, cli logs dir)
- Before writing to CLAUDE.md for daplug settings
- When a user asks to migrate or audit CLAUDE.md config
Config Format
<daplug_config>
preferred_agent: codex
worktree_dir: .worktrees/
llms_txt_dir: /storage/projects/docker/llms_txt
ai_usage_awareness: enabled
cli_logs_dir: ~/.claude/cli-logs/
</daplug_config>
Usage
PLUGIN_ROOT=$(jq -r '.plugins."daplug@cruzanstx"[0].installPath' ~/.claude/plugins/installed_plugins.json)
CONFIG_READER="$PLUGIN_ROOT/skills/config-reader/scripts/config.py"
Get Single Setting
python3 "$CONFIG_READER" get preferred_agent
Dump All Settings (JSON)
python3 "$CONFIG_READER" dump --json
Dump as ENV Vars
python3 "$CONFIG_READER" dump --env
Status / Verification
python3 "$CONFIG_READER" status
python3 "$CONFIG_READER" status --json
Check Legacy Settings
python3 "$CONFIG_READER" check-legacy
Migrate Legacy Settings
# Project and user
python3 "$CONFIG_READER" migrate --all
# Project only
python3 "$CONFIG_READER" migrate --project
# User only
python3 "$CONFIG_READER" migrate --user
Set a Setting
# Project scope
python3 "$CONFIG_READER" set worktree_dir ".worktrees/" --scope project
# User scope
python3 "$CONFIG_READER" set preferred_agent "codex" --scope user
Notes
- Lookup order: project CLAUDE.md (repo root) → user ~/.claude/CLAUDE.md
- Legacy plaintext settings are still supported but trigger warnings
- Migrations create a timestamped backup before writing
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
at-prompt-runner
Orchestrate multi-prompt execution with phase groups, optional auto-deps, and model-tiered agent roles.
prompt-finder
Find and resolve prompt files in ./prompts/ directory. Use when user asks to find a prompt, list available prompts, locate prompt by number or name, or check what prompts exist.
at-prompt-creator
Create agent-team orchestrated prompt bundles (orchestrator + sub-prompts) and store them through prompt-manager.
cli-detector
Detect installed AI coding CLIs and local model providers; outputs a cached JSON inventory for routing (/detect-clis).
prompt-executor
Execute prompts from ./prompts/ directory with various AI models. Use when user asks to run a prompt, execute a task, delegate work to an AI model, run prompts in worktrees/tmux, or run prompts with verification loops.
ai-usage
Check AI CLI usage/quota for Claude Code, OpenAI Codex, Google Gemini CLI, and Z.AI. Use when user asks about remaining quota, usage limits, rate limits, or wants to check how much capacity is left.
Didn't find tool you were looking for?