Skip to content

docs: add unknown-skill troubleshooting for Claude Code#232

Open
marcelsafin wants to merge 2 commits intoHKUDS:mainfrom
marcelsafin:fix/issue-19-unknown-skill-docs
Open

docs: add unknown-skill troubleshooting for Claude Code#232
marcelsafin wants to merge 2 commits intoHKUDS:mainfrom
marcelsafin:fix/issue-19-unknown-skill-docs

Conversation

@marcelsafin
Copy link
Copy Markdown

@marcelsafin marcelsafin commented Apr 19, 2026

Description

Document command compatibility and troubleshooting for Unknown skill: cli-anything when using Claude Code, including reload/reinstall verification flow in both EN and CN READMEs.

Fixes #19

Type of Change

  • New Software CLI (in-repo) — adds a CLI harness inside this monorepo
  • New Software CLI (standalone repo) — registry-only PR pointing to an external repo
  • New Feature — adds new functionality to an existing harness or the plugin
  • Bug Fix — fixes incorrect behavior
  • Documentation — updates docs only
  • Other — please describe:

For New Software CLIs (in-repo)

  • <SOFTWARE>.md SOP document exists at <software>/agent-harness/<SOFTWARE>.md
  • Canonical SKILL.md exists at skills/cli-anything-<software>/SKILL.md
  • Packaged compatibility SKILL.md exists at cli_anything/<software>/skills/SKILL.md
  • Unit tests at cli_anything/<software>/tests/test_core.py are present and pass without backend
  • E2E tests at cli_anything/<software>/tests/test_full_e2e.py are present
  • README.md includes the new software (with link to harness directory)
  • registry.json includes an entry with source_url: null (see Contributing guide)
  • repl_skin.py in utils/ is an unmodified copy from the plugin

For New Software CLIs (standalone repo)

  • CLI is installable via pip install <package-name> or a pip install git+https://... URL
  • SKILL.md exists in the external repo
  • External repo has its own test suite
  • registry.json entry includes source_url pointing to the external repo
  • registry.json entry includes skill_md with full URL to the external SKILL.md
  • install_cmd in registry.json works (tested locally)

For Existing CLI Modifications

  • All unit tests pass: python3 -m pytest cli_anything/<software>/tests/test_core.py -v
  • All E2E tests pass: python3 -m pytest cli_anything/<software>/tests/test_full_e2e.py -v
  • No test regressions — no previously passing tests were removed or weakened
  • registry.json entry is updated if version, description, or requirements changed

General Checklist

  • Code follows existing patterns and conventions
  • --json flag is supported on any new commands
  • Commit messages follow the conventional format (feat:, fix:, docs:, test:)
  • I have tested my changes locally

Test Results

N/A (docs-only change)

Copilot AI review requested due to automatic review settings April 19, 2026 18:46
Copy link
Copy Markdown
Author

@maintainers Could you switch requested reviewer to Codex for this PR? Copilot review is currently unavailable on our side.

Copy link
Copy Markdown
Author

@marcelsafin marcelsafin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex review pass completed.

Result: No blocking issues found in this PR.

Checked:

  • EN/CN docs are consistent on command compatibility and fallback forms
  • Troubleshooting flow is actionable and ordered
  • Scope remains docs-only with no behavior change

Residual risk: very low.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2736e19a1b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README_CN.md Outdated
Copy link
Copy Markdown
Author

@codex address that feedback. Please align the CN quickstart so /cli-anything is the primary command and :cli-anything is clearly fallback-only.

@chatgpt-codex-connector
Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

Copy link
Copy Markdown
Author

Addressed the previous Codex feedback in the latest commit. @codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Author

@codex review latest head (09d292a) only. Previous P3 feedback has been addressed and thread resolved.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Author

@maintainers Status update: Codex feedback for this PR is addressed and thread is resolved (09d292a). This is docs-only and aligns EN/CN command guidance. Could you please take final maintainer review/approval?

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md

If you still see `Unknown skill: cli-anything`:
1. Reload plugin commands: `/reload-plugins`
2. Verify install state: `/plugin list` (confirm `cli-anything` is present)
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Troubleshooting step 2 uses /plugin list, but this repo’s plugin docs consistently use /help cli-anything as the verification mechanism (e.g., cli-anything-plugin/QUICKSTART.md). Consider replacing or supplementing /plugin list with /help cli-anything to avoid depending on a potentially unsupported Claude Code command.

Suggested change
2. Verify install state: `/plugin list` (confirm `cli-anything` is present)
2. Verify install state: `/help cli-anything` (confirm the CLI-Anything help/commands appear)

Copilot uses AI. Check for mistakes.
Comment thread README_CN.md
Comment on lines +102 to +111
- 如果报错 `Unknown skill: cli-anything`,请改用 `/cli-anything:cli-anything` 重试。
- 其他辅助命令保持 `:子命令` 形式(例如 `/cli-anything:refine`)。

如果仍然出现 `Unknown skill: cli-anything`:
1. 重新加载插件命令:`/reload-plugins`
2. 检查安装状态:`/plugin list`(确认存在 `cli-anything`)
3. 重新安装市场插件:
- `/plugin marketplace add HKUDS/CLI-Anything`
- `/plugin install cli-anything`
4. 依次重试两种入口:
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“如果报错 Unknown skill: cli-anything,请改用 /cli-anything:cli-anything 重试” 这条建议很可能无效:两种写法都引用同一个 skill 名称 cli-anything。若提示 Unknown skill,更可行的排查是确认插件已安装并被加载(reload/验证安装),而不是切换入口形式。

Suggested change
- 如果报错 `Unknown skill: cli-anything`,请改用 `/cli-anything:cli-anything` 重试
- 其他辅助命令保持 `:子命令` 形式(例如 `/cli-anything:refine`)。
如果仍然出现 `Unknown skill: cli-anything`
1. 重新加载插件命令:`/reload-plugins`
2. 检查安装状态:`/plugin list`(确认存在 `cli-anything`
3. 重新安装市场插件:
- `/plugin marketplace add HKUDS/CLI-Anything`
- `/plugin install cli-anything`
4. 依次重试两种入口
- 旧版本如主入口不可用,可尝试兼容写法 `/cli-anything:cli-anything`
- 在插件已正常安装并加载后,其他辅助命令使用 `:子命令` 形式(例如 `/cli-anything:refine`)。
如果出现 `Unknown skill: cli-anything`,更可能是插件未安装或未加载成功,请按以下步骤排查
1. 重新加载插件命令:`/reload-plugins`
2. 检查安装状态:`/plugin list`(确认存在 `cli-anything`
3. 重新安装市场插件:
- `/plugin marketplace add HKUDS/CLI-Anything`
- `/plugin install cli-anything`
4. 完成上述检查后,再重试命令

Copilot uses AI. Check for mistakes.
Comment thread README_CN.md
Comment on lines +107 to +111
2. 检查安装状态:`/plugin list`(确认存在 `cli-anything`)
3. 重新安装市场插件:
- `/plugin marketplace add HKUDS/CLI-Anything`
- `/plugin install cli-anything`
4. 依次重试两种入口:
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

排查步骤里使用了 /plugin list 来确认插件存在,但仓库内的插件文档(如 cli-anything-plugin/QUICKSTART.md)使用的是 /help cli-anything 作为验证方式。建议改为或补充 /help cli-anything,避免依赖可能不存在的 Claude Code 命令。

Suggested change
2. 检查安装状态:`/plugin list`(确认存在 `cli-anything`
3. 重新安装市场插件:
- `/plugin marketplace add HKUDS/CLI-Anything`
- `/plugin install cli-anything`
4. 依次重试两种入口:
2. 先验证插件是否已加载:`/help cli-anything`
3. 如果仍无法识别,再重新安装市场插件:
- `/plugin marketplace add HKUDS/CLI-Anything`
- `/plugin install cli-anything`
4. 安装后再次验证:`/help cli-anything`
5. 依次重试两种入口:

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +191 to +194
Command compatibility across Claude Code versions:
- Use `/cli-anything` as the primary entrypoint.
- If your build reports `Unknown skill: cli-anything`, retry with `/cli-anything:cli-anything`.
- Auxiliary commands keep the `:subcommand` form (e.g. `/cli-anything:refine`).
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The suggested workaround “if you see Unknown skill: cli-anything, retry with /cli-anything:cli-anything” is likely ineffective because both forms still reference the same skill name (cli-anything). If the skill is unknown, the actionable fix is to ensure the plugin is installed/loaded (reload plugins, verify via help/installation steps) rather than changing the entry form.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README_CN.md

如果仍然出现 `Unknown skill: cli-anything`:
1. 重新加载插件命令:`/reload-plugins`
2. 检查安装状态:`/plugin list`(确认存在 `cli-anything`)
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

第 2 步使用了 /plugin list 来检查安装状态,但仓库内其他 Claude Code 插件文档(如 cli-anything-plugin/QUICKSTART.md)用的是 /help cli-anything 来验证插件是否已加载。为避免用户执行可能不存在/不稳定的命令,建议把这里的校验方式改为 /help cli-anything(或与现有文档保持一致的检查)。

Suggested change
2. 检查安装状态`/plugin list`(确认存在 `cli-anything`
2. 检查插件是否已加载`/help cli-anything`(能看到帮助即表示已加载

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +193 to +204
- If your build reports `Unknown skill: cli-anything`, retry with `/cli-anything:cli-anything`.
- Auxiliary commands keep the `:subcommand` form (e.g. `/cli-anything:refine`).

If you still see `Unknown skill: cli-anything`:
1. Reload plugin commands: `/reload-plugins`
2. Verify install state: `/plugin list` (confirm `cli-anything` is present)
3. Reinstall from marketplace:
- `/plugin marketplace add HKUDS/CLI-Anything`
- `/plugin install cli-anything`
4. Retry both entry forms:
- `/cli-anything ./gimp`
- `/cli-anything:cli-anything ./gimp`
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The guidance “If you see Unknown skill: cli-anything, retry with /cli-anything:cli-anything” is misleading: both forms still reference the same skill name (cli-anything), so this won’t resolve an unknown skill error. Consider rewording to: use /cli-anything:cli-anything only for older builds where /cli-anything isn’t recognized after confirming the plugin is installed/loaded; otherwise focus troubleshooting on installation/reload steps.

Suggested change
- If your build reports `Unknown skill: cli-anything`, retry with `/cli-anything:cli-anything`.
- Auxiliary commands keep the `:subcommand` form (e.g. `/cli-anything:refine`).
If you still see `Unknown skill: cli-anything`:
1. Reload plugin commands: `/reload-plugins`
2. Verify install state: `/plugin list` (confirm `cli-anything` is present)
3. Reinstall from marketplace:
- `/plugin marketplace add HKUDS/CLI-Anything`
- `/plugin install cli-anything`
4. Retry both entry forms:
- `/cli-anything ./gimp`
- `/cli-anything:cli-anything ./gimp`
- On some older builds, if `/cli-anything` itself is not recognized after you have confirmed the plugin is installed and loaded, try the legacy entry form `/cli-anything:cli-anything`.
- Auxiliary commands keep the `:subcommand` form (e.g. `/cli-anything:refine`).
If you see `Unknown skill: cli-anything`, focus on plugin installation/loading first:
1. Reload plugin commands: `/reload-plugins`
2. Verify install state: `/plugin list` (confirm `cli-anything` is present)
3. Reinstall from marketplace if needed:
- `/plugin marketplace add HKUDS/CLI-Anything`
- `/plugin install cli-anything`
4. After confirming the plugin is available, retry the entry command:
- Preferred: `/cli-anything ./gimp`
- Older builds only: `/cli-anything:cli-anything ./gimp`

Copilot uses AI. Check for mistakes.
@marcelsafin
Copy link
Copy Markdown
Author

@copilot apply changes based on the comments in this thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unknown skill: cli-anything

2 participants