nocobase-ai-employee

Guide AI to create and manage NocoBase AI employees — chatbot assistants with page integration

3,891 stars

Best use case

nocobase-ai-employee is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Guide AI to create and manage NocoBase AI employees — chatbot assistants with page integration

Teams using nocobase-ai-employee should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/aicreat/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/alexander-lq/aicreat/skill.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/aicreat/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How nocobase-ai-employee Compares

Feature / Agentnocobase-ai-employeeStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Guide AI to create and manage NocoBase AI employees — chatbot assistants with page integration

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# NocoBase AI Employee Management

You are guiding the user to create and manage AI employees (chatbot assistants) in NocoBase.

## Key Concepts

### AI Employee
An AI employee is a chatbot assistant configured with:
- **username** (PK): Unique identifier, e.g. `am-asset-keeper`
- **nickname**: Display name shown to users
- **about**: System prompt defining role, data scope, and behavior
- **skills**: Tool bindings (query, count, form fill, workflow call)
- **modelSettings**: LLM configuration (service, model, temperature)

### Page Integration
AI employees appear on pages in two ways:
1. **Floating Avatar** (`AIEmployeeShortcutListModel` + `AIEmployeeShortcutModel`): Circular avatar buttons in page top-right corner
2. **Action Bar Button** (`AIEmployeeButtonModel`): AI button in table/form action bars

## Workflow

### Phase 1: Create AI Employees

```
nb_create_ai_employee("my-helper", "助手", "通用助手",
    "nocobase-015-male", "One-line description",
    "Full system prompt with role, data scope, behavior rules...",
    "Welcome message...",
    '[{"name":"dataSource-dataSourceQuery","autoCall":true}]')
```

### Phase 2: Add Page Shortcuts (Floating Avatars)

```
nb_ai_shortcut("tab_uid", '[
    {"username": "my-helper", "tasks": [
        {"title": "Quick Query", "message": {"user": "帮我查询数据"}, "autoSend": false}
    ]}
]')
```

### Phase 3: Add Block Buttons

```
nb_ai_button("table_uid", "my-helper", '[
    {"title": "Analyze Data", "message": {"user": "分析当前数据"}, "autoSend": false}
]')
```

## Available Skills (Tool Bindings)

| Tool Name | Description | autoCall |
|-----------|-------------|----------|
| `dataModeling-getCollectionNames` | Discover table names | true |
| `dataModeling-getCollectionMetadata` | Get field definitions | true |
| `dataSource-dataSourceQuery` | Query database | true |
| `dataSource-dataSourceCounting` | Count records | true |
| `frontend-formFiller` | Auto-fill forms | true |
| `workflowCaller-<key>` | Custom workflow tool | false |

## Avatar IDs

Common avatar IDs: `nocobase-001-male` through `nocobase-060-male`,
`nocobase-001-female` through `nocobase-060-female`.

## Model Settings

Default LLM configuration:
```json
{
  "llmService": "gemini",
  "model": "models/gemini-2.5-flash",
  "temperature": 0.7,
  "topP": 1,
  "timeout": 60000,
  "maxRetries": 1,
  "responseFormat": "text"
}
```

**Common adjustments:**
- `temperature: 0.3` — more deterministic, better for data queries
- `temperature: 0.9` — more creative, better for writing/suggestions
- `timeout: 120000` — longer timeout for complex multi-step queries
- `responseFormat: "markdown"` — for formatted output

## Page Integration — Complete Example

### Floating Avatar (Shortcut)
Place AI employee avatars on a page for quick access:
```
nb_ai_shortcut("tab_uid", '[
    {"username": "my-helper", "tasks": [
        {"title": "Quick Query", "message": {"user": "帮我查一下最新数据"}, "autoSend": false},
        {"title": "Generate Report", "message": {"user": "生成本月汇总报表"}, "autoSend": false}
    ]}
]')
```

Multiple employees on the same page:
```
nb_ai_shortcut("tab_uid", '[
    {"username": "data-analyst", "tasks": [...]},
    {"username": "form-helper", "tasks": [...]}
]')
```

### Block Button
Add AI action button to a table's action bar:
```
nb_ai_button("table_uid", "my-helper", '[
    {"title": "Analyze Selected", "message": {"user": "分析当前选中的记录"}, "autoSend": false}
]')
```

## Best Practices

1. **Role-focused**: Each AI employee covers one business domain
2. **Progressive**: Start with basic query tools, add workflow tools later
3. **Chinese-first**: Use `{{$nLang}}` in system prompts for language awareness
4. **Data scope**: Explicitly list accessible tables in the system prompt
5. **Preset tasks**: Add 1-2 quick-start tasks to shortcuts and buttons
6. **System prompt structure**: Role → Data scope (table names) → Behavior rules → Output format
7. **Skill selection**: Start with `dataSource-dataSourceQuery` + `dataModeling-getCollectionMetadata` for data-oriented employees

Related Skills

Employee Offboarding Manager

3891
from openclaw/skills

Generate complete offboarding checklists and transition plans when an employee leaves.

Workflow & Productivity

Employee Retention & Turnover Risk Analyzer

3891
from openclaw/skills

Diagnose why people leave. Fix it before they do.

HR & People Analytics

Employee Onboarding Generator

3891
from openclaw/skills

Build a structured 90-day onboarding plan for any role. Covers pre-boarding, Day 1, Week 1, 30/60/90-day milestones, buddy assignments, and success metrics.

Workflow & Productivity

Employee Handbook Generator

3891
from openclaw/skills

Build a complete, customized employee handbook for your company. Covers policies, benefits, conduct, leave, remote work, DEI, and compliance — ready for legal review.

Content & Documentation

nocobase-workflow

3891
from openclaw/skills

Guide AI to create NocoBase workflows — triggers, conditions, data operations, SQL, scheduling

nocobase-page-building

3891
from openclaw/skills

Guide AI to build NocoBase pages — menus, tables, forms, popups, KPIs, JS blocks, outlines, event flows

Employee Training Program Builder

3891
from openclaw/skills

Build structured training programs for any role, department, or compliance requirement. Generates curricula, schedules, assessment criteria, and completion tracking.

nocobase-data-modeling

3880
from openclaw/skills

Guide AI to build NocoBase data models — tables, fields, relations, and seed data

---

3891
from openclaw/skills

name: article-factory-wechat

Content & Documentation

humanizer

3891
from openclaw/skills

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Content & Documentation

find-skills

3891
from openclaw/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

General Utilities

tavily-search

3891
from openclaw/skills

Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.

Data & Research