You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c2b0daa
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Pick a scope, then paste the whole paragraph into any AI client that supports th
27
27
```text
28
28
Please install lanhu-context globally for me (do NOT clone any source repository):
29
29
1. npm i -g @lanhu-context/cli, then run `lanhu doctor` until it exits 0 (use `lanhu auth set` to configure LANHU_TOKEN if credentials fail);
30
-
2. Run `npx skills add DaYePython/lanhu-context --global` to install the skill globally; if that doesn't apply to you, install the lanhu-context-cli skill into your own global skill/rule directory (e.g. Claude Code ~/.claude/skills, Codex ~/.codex/AGENTS.md);
30
+
2. Run `npx skills add DaYePython/lanhu-context --global -y -a <the agent name that matches yourself>` to install the skill globally (use -a to target only yourself, so agents that don't support global installs aren't touched); if that doesn't apply to you, install the lanhu-context-cli skill into your own global skill/rule directory (e.g. Claude Code ~/.claude/skills, Codex ~/.codex/AGENTS.md);
31
31
3. Report back the doctor result and where the skill was installed.
32
32
```
33
33
@@ -37,7 +37,7 @@ Please install lanhu-context globally for me (do NOT clone any source repository
37
37
Please install lanhu-context inside the current project (do NOT clone any source repository, do NOT install globally):
38
38
1. npm i -D @lanhu-context/cli; from then on run every lanhu command with a prefix: `npx lanhu <command>` (or wrap them in package.json scripts and invoke via npm run);
39
39
2. Run `npx lanhu doctor` until it exits 0 (use `npx lanhu auth set` to configure LANHU_TOKEN, stored in the project .env.local — make sure it is gitignored);
40
-
3. Run `npx skills add DaYePython/lanhu-context` to install the skill (project scope is the default); if that doesn't apply to you, install the lanhu-context-cli skill into this project's skill/rule directory (e.g. .claude/skills, .cursor/rules) and note in the skill usage that commands need the `npx lanhu` prefix;
40
+
3. Run `npx skills add DaYePython/lanhu-context -y -a <the agent name that matches yourself>` to install the skill (project scope is the default); if that doesn't apply to you, install the lanhu-context-cli skill into this project's skill/rule directory (e.g. .claude/skills, .cursor/rules) and note in the skill usage that commands need the `npx lanhu` prefix;
41
41
4. Report back the doctor result and where the skill was installed.
42
42
```
43
43
@@ -57,7 +57,7 @@ lanhu auth set # reads token from stdin, keeps it off the command line
57
57
lanhu auth test"$URL"# exit 0 = token works
58
58
```
59
59
60
-
To teach your agent how to drive the CLI, install the bundled skills with [find-skills](https://github.com/vercel-labs/skills) (project-scoped by default; add `--global` for a global install):
60
+
To teach your agent how to drive the CLI, install the bundled skills with [find-skills](https://github.com/vercel-labs/skills) (project-scoped by default; add `--global` for a global install and `-a <agent>` to pick target agents — agents that don't support global installs are skipped with a ✗):
0 commit comments