Preface¶
Many sales follow-up actions still happen inside NeoCRM (Xiaoshouyi): looking up customers, updating opportunities, writing follow-up notes, claiming records from the public pool, and scheduling activities. If these steps are broken down into “open a page → find a menu → fill in a form,” an Agent can only help with copywriting and can’t truly do the work for you. Packaging CRM capabilities into an Agent-readable Skill specification—and constraining query, write, and confirmation flows—is the prerequisite for letting the model reliably operate tenant data. Below we introduce how NeoCRM for AI Agent on SkillHub (coordinate @user_2d23dd34/neocrm-for-ai-agent, current version 0.1.9) organizes capabilities and prerequisite dependencies.
What This Is¶
NeoCRM for AI Agent is a NeoCRM skill pack for AI Agents: it enables sales follow-up tasks via natural language. The official page describes it as “the official AI Agent skill pack for Xiaoshouyi CRM” and “ready to use out of the box.” On SkillHub it is categorized under business-ops, the source is community, and the publisher is user_2d23dd34; the page lists the author as Jeffery. The positioning in the skill pack’s root SKILL.md is: let the Agent operate Xiaoshouyi CRM via natural language, and before performing any operation it must first read and comply with all specifications in nc-base/SKILL.md.
Execution depends on a local neocrm command-line tool (the neocrm-cli-client npm package), rather than configuring an API key on the SkillHub side (tag requires_api_key=false).
Core Features¶
The skill pack uses a layered structure; the platform scans subdirectories and loads each skill separately:
| Layer | Directory | Purpose |
|---|---|---|
| Base layer | nc-base/ |
General Agent behavior rules; dependencies for other skills |
| Common operations layer | nc-common/ |
Standard operations across entities |
| Extension layer | nc-ext/nc-ext-*/ |
Scenario-based capabilities per entity |
| Workbench | nc-skillbench/ |
Guides users to generate personalized skills based on the neocrm command |
Common operations (nc-common) apply to any CRM entity and include: querying records, creating records, editing records, transferring ownership, locking records, and unlocking records. The underlying commands include neocrm data:query, data:get, data:create, data:update, data:lock, data:unlock, plus metadata-related metadata:describe, metadata:busitype, and metadata:objects.
Extension skills already included (per the root SKILL.md table) cover examples such as:
nc-ext-account: decommission/merge customersnc-ext-activityrecord: create activity records (follow-up logs)nc-ext-feed: publish to the work circle / dynamics under an objectnc-ext-opportunity: query opportunities that have timed out without follow-upnc-ext-schedule: create a schedule and link it to related recordsnc-ext-territory: claim leads from the public pool, claim customers from the public pool, return records to the public poolnc-ext-visit-prepare: pre-visit preparation (three entry points: customer / opportunity / lead)
Key behavior rules (nc-base) include: before operating, confirm login with neocrm auth:whoami; before write operations, show the content and obtain user confirmation; run metadata:describe before reading or writing, and do not hardcode field names or enum values; if a write operation fails, stop and require user input before retrying. Login supports both the production environment and the sandbox crm-sandbox.xiaoshouyi.com, using OAuth client ID authentication via neocrm auth:login -c <clientId> (add --host for the sandbox).
Installation & Enablement¶
1. Install the SkillHub CLI (if not already installed)¶
Follow the SkillHub installation instructions to check or install skillhub:
command -v skillhub && skillhub --version
If it’s not installed, you can run the curl install script from the documentation (full install or --cli-only).
2. Install the skill pack into the current Agent’s skills directory¶
The official page and SkillHub documentation both require using --dir to point to the actual skills directory recognized by the current Agent. Otherwise, it may default to ./skills/ and not be loaded. Common path examples:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/in the project
Installation command (consistent with the install hint in SkillHub search results):
skillhub install neocrm-for-ai-agent --namespace user_2d23dd34 --dir ~/.cursor/skills
You can also ask the Agent to install the coordinate @user_2d23dd34/neocrm-for-ai-agent by following https://skillhub.cn/install/skillhub.md.
3. Prepare the neocrm CLI¶
nc-base/SKILL.md requires checking the neocrm-cli-client version before operating and aligning it with the latest version on npm, e.g.:
neocrm --version
npm view neocrm-cli-client version
npm install -g neocrm-cli-client@latest # when the local version is outdated
4. Log in to NeoCRM¶
On first use or when the session expires, the Agent should follow nc-base to help the user select the environment and provide an OAuth 2.0 clientId, then run login and confirm:
neocrm auth:login -c <clientId>
# sandbox
neocrm auth:login -c <clientId> --host crm-sandbox.xiaoshouyi.com
neocrm auth:whoami
After completing the above steps, load this skill pack in the conversation, and ensure that for scenarios involving writes, the public pool, schedules, etc., the Agent has loaded the corresponding nc-ext-* or nc-common sub-skill (the root specification requires: load the skill first, then operate; skipping the spec and directly assembling commands is prohibited).
Typical Usage¶
Usage is mainly triggered via natural language. The Agent follows the loaded sub-skill and executes the flow “describe → field mapping → display → confirm → execute.” The following prompts are consistent with the skill pack design and can be reproduced after login and skill loading (specific fields depend on the tenant’s metadata:describe; do not hardcode):
- Query: “List opportunities created this week under my name” — use
nc-common, runmetadata:describefirst, thenneocrm data:query. - Write follow-up: “Record a follow-up under customer XX about today’s phone call” — load
nc-ext-activityrecord. - Public pool: “Claim this lead from the public pool into my name” — load the claim-related reference in
nc-ext-territory. - Schedule: “Create a schedule for tomorrow afternoon’s customer visit and link it to that customer” — load
nc-ext-schedule. - Custom workflow: “Package the XX approval workflow we often do into a standalone skill” — enter
nc-skillbench’s five-step creation flow, produce a standalone skill directory, and install it into the target Agent.
In the specification, write operation examples in JSON form (the -v payload for create/update) must be wrapped under a data field, e.g.:
{ "data": { "accountName": "示例公司", "money": 100000 } }
Best For & Cautions¶
Best for: sales, operations, or internal tooling teams already using Xiaoshouyi NeoCRM who want to use agents such as Cursor / Claude Code / Codex for queries and compliant writes; also suitable for scenarios where repetitive CRM workflows should be consolidated into sub-skills (nc-skillbench).
Cautions:
- Multi-tenant field differences are significant; the skills enforce “describe first, don’t guess fields.” Ignoring
nc-base/SKILL.mdcan lead to incorrect writes or permission failures. - Login must use the clientId provided by the user; the specification explicitly prohibits using a clientId from the model’s memory to log in directly.
- SkillHub page data (as of the time of review): rating 100000, downloads 2334, installs 61; when behavior differs from local tenant permissions or sandbox/production environments, treat the
neocrmresponse as authoritative. - Extension skills are labeled “continuously expanding”; for entity operations not listed, prefer the
nc-commongeneric layer or build a custom skill in the workbench.
Closing¶
NeoCRM for AI Agent breaks Xiaoshouyi operations into loadable, layered Skills, and uses nc-base to constrain login, metadata, and write confirmation, making it suitable for turning “natural language → real CRM operations” into maintainable Agent capabilities. For installation and coordinates, see SkillHub:
- Page: https://www.skillhub.cn/skills/user_2d23dd34/neocrm-for-ai-agent
- API entry: https://api.skillhub.cn/user_2d23dd34/neocrm-for-ai-agent