Skills and examples for ScriptCat Agent.
| Skill | Description | Install |
|---|---|---|
| browser-automation | Page analysis, DOM operations, form filling, screenshots, navigation | Install |
| scheduled-tasks | Cron-based task scheduling with internal (LLM auto-run) and event (script callback) modes | Install |
| skill-creator | Helps create, test and package new Skills | Install |
| file-parser | Parse common file formats (Excel, PDF, Word, CSV, PPT), extract text and structured data | Install |
| scriptcat-dev | UserScript development assistant — write, debug and optimize user scripts | Install |
| synology-office-sheet | Read and write Synology Office spreadsheet cells | Install |
| wechat-publisher | WeChat Official Account assistant — content collection, writing, image generation and publishing | Install |
| xiaohongshu-publisher | Xiaohongshu (RED) assistant — note writing, style learning, image generation and publishing | Install |
Code examples for the Agent script API, located in examples/:
| Directory | Description |
|---|---|
| conversation | Conversation API — chat, streaming, tool calling |
| dom | DOM API — page reading, form filling, tab management |
| config | Skill Config — declare config fields, access via CAT_CONFIG |
| page_copilot.user.js | Full userscript — right-click AI assistant with streaming UI |
Open the SKILL.cat.md URL in your browser, and ScriptCat will prompt to install the skill. You can also paste a SKILL.cat.md URL in the Agent → Skills page.
skill-name/
├── SKILL.cat.md # Prompt + YAML frontmatter (name, description, config)
├── scripts/ # Skill Scripts using ==SkillScript== header format (optional)
└── references/ # Reference docs for Agent context (optional)
Scripts in the scripts/ directory use the ==SkillScript== header format to declare metadata and parameters. The Agent invokes them via the execute_skill_script meta-tool, or programmatically via CAT.agent.skills.call(skillName, scriptName, params?).
Skills can declare configuration fields in SKILL.cat.md frontmatter. Users fill values in the UI, scripts access them via CAT_CONFIG:
---
name: my-skill
config:
API_KEY:
title: "API Key"
type: text
secret: true
required: true
---// In a Skill Script:
const key = CAT_CONFIG.API_KEY;See examples/config for complete examples.