agent-browser
Use Agent Browser for real browser navigation, dynamic pages, and web interaction; also use it as a distinct browser-based path…
Use when the user wants to operate Lark or Feishu via the local lark-cli (@larksuite/cli), including install, app credentials, OAuth, readiness checks, and safe read/write boundaries.
$ npx -y skills add peiiii/nextclaw --skill lark-cli --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/lark-cliContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when the user wants to operate Lark or Feishu via the local lark-cli (@larksuite/cli), including install, app credentials, OAuth, readiness checks, and safe read/write boundaries.
name: lark-cli description: Use when the user wants to operate Lark or Feishu via the local lark-cli (@larksuite/cli), including install, app credentials, OAuth, readiness checks, and safe read/write boundaries.
Use this skill to help the user work through a local [`lark-cli`](https://github.com/larksuite/cli) installation from inside NextClaw.
This skill is intentionally decoupled:
From the user’s point of view, the experience should feel complete:
Do not pretend the environment is ready when it is not. Treat browser completion, terminal success text, and real readiness as three separate things. Only observable CLI checks count as success.
Always distinguish these three things before taking action:
`npm install -g @larksuite/cli`
the selectable skill must exist at `<workspace>/skills/lark-cli/SKILL.md`
a user-wide skill may exist at `~/.agents/skills/<skill-name>/SKILL.md`
`skills/lark-cli/SKILL.md` inside the NextClaw repository
NextClaw loads both workspace skills and global Agent Skills. They appear as separate sources in the skill picker and keep separate installation/update lifecycles.
Default NextClaw workspace:
~/.nextclaw/workspace
So the default installed skill path is:
~/.nextclaw/workspace/skills/lark-cli/SKILL.md
If the user wants the skill installed into a specific project or workspace, install it with an explicit workdir:
nextclaw skills install lark-cli --workdir <workspace>
Do not treat this upstream command as a NextClaw marketplace or workspace install:
npx skills add larksuite/cli -y -g
That upstream command installs upstream Agent Skill assets globally. When it writes to `~/.agents/skills/`, NextClaw can show the result under `Global skills`, but it does not install the NextClaw-packaged `lark-cli` skill or join the NextClaw marketplace lifecycle.
When the user says "help me connect Feishu/Lark in NextClaw" or "make this skill actually work", follow this exact order and do not skip steps.
Check the real NextClaw workspace path before touching `lark-cli`.
`<workspace>/skills/lark-cli/SKILL.md`
If the user says they already installed the skill, verify that file exists. If it does not exist, install it with:
nextclaw skills install lark-cli --workdir <workspace>
Do not start debugging Feishu OAuth before this NextClaw-side path is confirmed.
Run:
command -v lark-cli
If it fails, check common Node bin locations before claiming the CLI is missing:
If `lark-cli` exists in one of those directories but is not on `PATH`, use a one-off PATH prefix for the current command session, for example:
PATH=$HOME/.nvm/versions/node/v22.16.0/bin:$PATH lark-cli --help
Only if the binary truly does not exist should you install it:
npm install -g @larksuite/cli
Run these first:
lark-cli config show lark-cli auth status lark-cli doctor
Interpret them in this order:
-> configuration is missing; go to Step 3
-> config exists but user login is missing; go to Step 4
-> environment is ready; go to Step 5
Do not start `config init` or `auth login` blindly before checking current state.
Use the browser-based config flow:
lark-cli config init --new
For agent-style execution:
Success means all of these are true:
Do not rerun `config init --new` just because the terminal is still waiting. Do not treat "the user opened the page" as success.
Prefer the two-stage device flow:
lark-cli auth login --recommend --no-wait --json
This returns:
Then immediately start the single polling process:
lark-cli auth login --device-code <DEVICE_CODE>
Agent behavior must be:
Success means all of these are true:
If `identity` is still `bot`, the login is no
Your long-term personal AI partner. NextClaw's mission is to be a good long-term partner to you. We are building toward a 1.0 that understands you, takes useful initiative, and continuously improves itself.
Use Agent Browser for real browser navigation, dynamic pages, and web interaction; also use it as a distinct browser-based path…
Turn a user request into a scheduled automation by configuring cron jobs, including session-bound follow-ups and periodic checks.
Use when the user asks to keep watching an external state, notify them when something changes or a condition is met, remember…
Use when deciding how to deliver an AI result: reply now, put durable news, reports, recommendations, or articles in the NextClaw…
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced…