ai-cli-helper
Original:🇺🇸 English
Translated
2 scriptsChecked / no sensitive code detected
View and manage configurations and skills for AI agent CLI tools (Claude Code, Opencode). Use when checking config files, listing or managing skills, viewing model settings, comparing configs across tools, or performing common config operations.
8installs
Sourcenikhilmaddirala/gtd-cc
Added on
NPX Install
npx skill4agent add nikhilmaddirala/gtd-cc ai-cli-helperTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →AI CLI helper
Overview
This skill manages configuration and skills for AI agent CLI tools (Claude Code, Opencode). It understands the full config stack — from user settings through project and local scopes — and can inspect, modify, debug, synchronize, and research configuration across both tools.
Use this skill when:
- Installing, updating, or managing skills
- Inspecting or modifying configs at any scope
- Debugging config conflicts, scope issues, or skill activation failures
- Comparing or syncing settings between Claude Code and Opencode
- Researching latest upstream config options and applying them
Context
The user runs both Claude Code and Opencode, managed declaratively (e.g. via Nix, dotfiles, etc.). Both tools share agent instructions (AGENTS.md) and skills via . The detailed setup for each tool is documented in the references/ directory.
.agents/skills/Process
IMPORTANT: for skill install/remove requests where the user gives specific paths or names, go directly to the manage-skills subskill and execute. Do NOT read references, explore the codebase, or assess state first. Run the right command directly: for remote sources and for local filesystem sources.
npx skillslocal-skills.pyFor everything else:
- Inspection/debugging: read the relevant reference doc, then read config files
- Config modifications: see manage-configs subskill
- Skill operations (open-ended): see manage-skills subskill
- Research: delegate to web-research skill
- Verify results after changes
Resources
- subskills/manage-skills.md: install, update, discover, and audit skills with a hybrid flow (for remote,
npx skillsfor local)local-skills.py - subskills/manage-configs.md: inspect and modify config files, rebuild workflow, scope rules
- references/opencode-config.md: Opencode config structure, config management, oh-my-opencode, agent modes
- references/vercel-skills.md: CLI disk model, gotchas, recommended usage patterns
npx skills - references/claude-code-plugins.md: legacy plugin system reference — for diagnosing plugin conflicts and cleaning up old installs only
Guidelines
Skill management
- Use a hybrid model for skill activation:
- Remote skills () ->
owner/reponpx skills - Local monorepo skills (filesystem paths) -> (
scripts/local-skills.pybootstrap + symlink swap)npx add
- Remote skills (
- Never use for managing skills — the plugin system is deprecated for this purpose
claude plugin install/remove/enable/disable - After skill changes, verify with both and
npx skills listscripts/local-skills.py list - For development iteration on monorepo skills, prefer because it symlinks instead of copying
scripts/local-skills.py
Scope and editability
- User-level settings may be declaratively managed (e.g. via Nix). See the manage-configs subskill before editing directly.
- Project-level settings are checked into git and can be edited directly
- Local settings () are gitignored and can be edited directly
.claude/settings.local.json - When unsure which scope to modify, prefer project scope
Cross-tool awareness
- Claude Code and Opencode share skills via (canonical store, managed by
.agents/skills/for remote skills and symlinks for local skills)npx skills - Both tools reference the same AGENTS.md
- Config concepts overlap but syntax differs — always check both reference docs when comparing
- Claude Code uses with hooks/permissions; Opencode uses
settings.jsonwith agent modes and permission blocksopencode.json
Legacy plugin conflicts
- Old plugins may still be installed from before the migration to
npx skills - If a skill isn't loading correctly or behavior is unexpected, check for stale in settings.json and legacy entries in
enabledPlugins~/.claude/plugins/installed_plugins.json - Use for the commands needed to inspect and uninstall legacy plugins
references/claude-code-plugins.md - Run to check for stale plugin installs that may conflict
claude plugin list
Research
- For upstream research, delegate to the web-research skill
- Always tie findings back to "here's what this means for your setup" with specific file paths and scope recommendations
- Check both https://docs.anthropic.com/en/docs/claude-code and https://opencode.ai/docs for official docs
General
- Only read reference docs when the task requires understanding config structure or debugging — not for straightforward install/remove operations
- When presenting config state, show all three layers (user -> project -> local) to make precedence clear
Appendix
Quick reference: CLI commands
bash
# Skill operations (remote/GitHub via npx skills)
npx skills list # show installed skills
npx skills list -g # show global skills
npx skills add owner/repo --skill name -a claude-code -y # install from GitHub
npx skills remove --skill name -y # remove from all agents
# Skill operations (local filesystem via local-skills.py)
./scripts/local-skills.py add ./path/to/my-skill -a claude-code opencode
./scripts/local-skills.py remove --skill my-skill -a claude-code opencode
./scripts/local-skills.py list
# Discovery
./scripts/discover-skills.py /path/to/monorepo # writes unified discovery+activation manifest
# Legacy plugin inspection (for debugging conflicts only)
claude plugin list # check for stale installs
claude plugin uninstall name@marketplace --scope project # clean up legacy plugin
# Opencode
opencode --version
# Opencode plugins managed via oh-my-opencode.json and bun dependencies