Multica Manage Skills logo

Multica Manage Skills

Community
it235
multica-manage-skills

查询已部署的 multica 平台 API,获取 workspace / agent 统计信息(agent 运行次数、30 天活动明细、各 workspace 汇总)。当用户需要查 multica 数据(如“每个 workspace 的 agent 运行次数”“workspace 统计”“multica 接口数据”),或访问 <MULTICA_API_URL> 的 API 信息时使用。脚本为纯标准库 Python,无需安装依赖。

Overview

Publisherit235
Repositorymultica-best-practices
Skill namemultica-manage-skills
Stars
199
Forks
29
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by it235 on GitHub. Read the source before you install it.

Installation

Install the Multica Manage Skills AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/it235/multica-best-practices/tree/main/templates/zh_CN/skills/shared/multica-manage-skills
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/it235/multica-best-practices.git /tmp/multica-best-practices
mkdir -p .claude/skills
cp -r /tmp/multica-best-practices/templates/zh_CN/skills/shared/multica-manage-skills .claude/skills/multica-manage-skills
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Multica Manage Skills in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Multica Manage Skills on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Multica Manage Skills is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

multica-manage-skills

Overview

multica 是自部署的 agent 编排平台(线上地址 <MULTICA_API_URL>)。本 skill 提供一套可随时调用的 Python API 客户端,用于拉取 workspace 列表、每个 workspace 的 agent 列表、agent 30 天运行次数与日活明细,并输出汇总报表。

认证与配置

脚本通过 Authorization: Bearer <token> 认证,workspace 通过 X-Workspace-Slug 请求头指定(slug 或 UUID 均可)。

本脚本不读取任何本地配置文件(不读 ~/.multica/config.json,也不读脚本目录下的 json),只接受命令行参数与环境变量,避免本地磁盘文件干扰。

token 解析优先级(从高到低):

  1. --token 参数
  2. 环境变量 MULTICA_API_TOKEN

API 地址解析优先级(从高到低):

  1. --url 参数
  2. 环境变量 MULTICA_API_URL
  3. 默认 <MULTICA_API_URL>

推荐把 token 与地址放进环境变量,一劳永逸(PowerShell 持久化示例):

powershell
[Environment]::SetEnvironmentVariable("MULTICA_API_TOKEN", "mul_xxx", "User")
[Environment]::SetEnvironmentVariable("MULTICA_API_URL", "<MULTICA_API_URL>", "User")

新开终端后即生效。token 在 Web UI 的 Settings → Access Tokens 创建(形如 mul_xxx)。如果脚本报 401/403,优先检查 MULTICA_API_TOKEN。

快速开始

脚本位置:{skill_base_dir}/scripts/multica_api.py(用户级 skill,任何项目可用)。

powershell
# 列出所有 workspace
python scripts/multica_api.py workspaces

# 某 workspace 的 agent 列表
python scripts/multica_api.py agents --workspace <workspace-slug>

# 某 workspace 每个 agent 的 30 天运行次数(JSON 输出)
python scripts/multica_api.py run-counts --workspace <workspace-slug> --json

# 某 workspace 每个 agent 的 30 天日活明细
python scripts/multica_api.py activity --workspace <workspace-slug>

# 所有 workspace 汇总统计
python scripts/multica_api.py report

# 单个 workspace 的 agent 级明细(合并运行次数+活动+名称)
python scripts/multica_api.py report --workspace <workspace-slug>

# 指定 token / 地址 / CSV 输出
python scripts/multica_api.py --token YOUR_API_TOKEN --url <MULTICA_API_URL> report --csv

命令一览

子命令说明必选参数
me当前登录用户信息无
workspaces当前用户可见的所有 workspace(id/name/slug/created_at)无
agents某 workspace 的 agent 列表(id/name/runtime_mode)--workspace
run-counts某 workspace 每个 agent 的 30 天运行次数 [{agent_id, run_count}]--workspace
activity某 workspace 每个 agent 的 30 天日活 [{agent_id, bucket_at, task_count, failed_count}]--workspace
report汇总:不带 --workspace 输出各 workspace 汇总;带 --workspace 输出该 workspace 的 agent 明细(含 fail_rate)可选 --workspace

通用参数:--url、--token、--workspace、--json、--csv。

常见场景

  1. “统计每个 workspace 的 agent 运行次数” → 跑 report(不带 --workspace),一行一个 workspace,含 agent 数、30 天总运行数、任务数、失败数。
  2. “某个 agent 最近运行情况” → run-counts --workspace <ws> 拿运行次数,再 activity --workspace <ws> 看每日明细,用 --json 便于程序处理。
  3. 想以 Python 模块方式集成 → from multica_api import MulticaClient,构造 MulticaClient(base_url, token) 后直接调用 list_workspaces() / agent_run_counts(ws) / workspace_report(ws) 等方法,异常统一抛 MulticaError。
  4. 服务器不通/鉴权失败 → 脚本会打印 HTTP 状态码与响应体片段;401/403 时提示检查 token。

端点说明(详见 references/api_reference.md)

  • GET /api/me、GET /api/workspaces 无需 workspace 头
  • GET /api/agents、GET /api/agent-run-counts、GET /api/agent-activity-30d 需要 X-Workspace-Slug

Resources

  • scripts/multica_api.py — 上述 API 客户端 + CLI(纯标准库,可直接运行或 import)
  • references/api_reference.md — 端点、请求头、响应结构说明(来自 multica 源码)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Multica Manage Skills AI skill do?

查询已部署的 multica 平台 API,获取 workspace / agent 统计信息(agent 运行次数、30 天活动明细、各 workspace 汇总)。当用户需要查 multica 数据(如“每个 workspace 的 agent 运行次数”“workspace 统计”“multica 接口数据”),或访问 <MULTICA_API_URL> 的 API 信息时使用。脚本为纯标准库 Python,无需安装依赖。

Why use Multica Manage Skills on TypingMind?

Because you install it once and use it with any model. Multica Manage Skills is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Multica Manage Skills in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/it235/multica-best-practices/tree/main/templates/zh_CN/skills/shared/multica-manage-skills. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Multica Manage Skills?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Multica Manage Skills?

As many as you like. As long as a model supports skills, you can use Multica Manage Skills with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Multica Manage Skills AI skill free?

Yes. It is published on GitHub by it235 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇