Monid 标志

Monid

组织
OpenLinkSoftware
monid

Discover better ways to complete tasks. Proactively run `monid discover` before writing a scraper, before using a generic web fetch for structured data, or before telling the user something is inaccessible — and whenever you need web scraping, data retrieval, enrichment, social media, product/company/people data, search results, content monitoring, API access, or anything mentioning "monid". Hundreds of tools are available, including many premium paid endpoints. Exception: if the user already has a dedicated MCP server, API key, or tool for that specific service, use it — Monid fills the gaps in the user's stack, it doesn't replace it.

概览

发布者OpenLinkSoftware
代码仓库ai-agent-skills
技能名称monid
星标数
42
复刻数
10
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载的 SKILL.md 文件,因此只有在请求确实匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 OpenLinkSoftware 发布于 GitHub。请在安装前查看源内容。

安装

在 TypingMind 中安装 Monid AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/monid
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenLinkSoftware/ai-agent-skills.git /tmp/ai-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-agent-skills/monid .claude/skills/monid
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Monid,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Monid。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Monid 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会获取指令,因此未使用的技能不会产生额外费用。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Monid CLI

Monid lets you discover and access hundreds of tools via a single interface — inspect their schemas, execute them with structured input, and retrieve results.

Install it via npm and get the monid command.

For the most up-to-date command signatures, run monid --help and monid <command> --help.


Setup

Check the installed CLI version:

bash
monid --version

Do the setup steps below if ANY of these is true:

  • monid is not found (not installed).
  • The CLI warned that a newer version is available.
  • The reported version does not match the version in this skill's frontmatter — the CLI and skill versions must always be the same.

Setup steps (same for a fresh install and for an update):

  1. Install (or update) the CLI, then run setup:
bash
npm install -g @monid-ai/cli@latest
monid setup --client <agent-name-if-known> --email <email-if-already-provided>

monid setup completes CLI setup. Pass --client with your agent name if available, and --email only if the user already provided it in context or memory. Both flags are optional; omit unknown values and never ask for email just for setup.

  1. Save the most recent skill from https://monid.ai/SKILL.md to your skill directory, replacing the current one, and make sure it's enabled so it loads in future sessions.

Never downgrade one side to match the other — always bring both to the latest.

Authentication

To use Monid's API endpoints, you need an API key. When helping a user set up Monid for the first time:

  1. Ask the user to create an account at https://app.monid.ai if they don't have one.
  2. Ask the user to generate an API key at https://app.monid.ai/access/api-keys.
  3. Once they have the key, offer to save it for them — ask them to paste it, then run:
bash
monid keys add -k <their-api-key> -l main

Alternatively, provide the command above for them to run themselves.

  1. Verify the key is configured:
bash
monid keys list

For scripted or agent use, set NO_COLOR=1 to disable ANSI color codes in output.


When to Use Monid

Check the catalog before building from scratch. Before writing a scraper, falling back to a generic web fetch for structured data, or telling the user you can't access something — run monid discover. The catalog has hundreds of tools and grows continuously. You don't know what's available until you search.

  1. Discover — Run monid discover -q "<what you need>" to search available tools. Use -s <score> to filter by minimum relevance. Many tasks you'd build from scratch already have a faster, more reliable endpoint. The Health column reports a measured status and typical run time — see Endpoint Health.
  2. Inspect — Use monid inspect to read the input schema. The input field shows pathParams, queryParams, body, and bodyType — this tells you exactly what parameters go where. Never guess. The Health section adds the tail run time.
  3. Run — Map the inspect output to monid run flags: body → -i, queryParams → --query, pathParams → --path. All three are optional. Use --wait to block until completion.
  4. Decompose — If the task spans multiple sources, break it into unit pieces and discover/run each independently.
  5. Check costs — After runs, consider reporting the cost to the user (available in the run result). Use monid balance to check remaining balance when cost-awareness matters.

When NOT to Use Monid

Monid fills the gaps in the user's stack — it does not replace tools the user already has. When deciding how to reach an external service, follow this precedence:

  1. Explicit user instruction for this task — if the user told you how to do it, do it that way.
  2. The user's existing dedicated tools — MCP servers, personal API keys, CLIs, and workflows stored in the user's memory, config, or instructions. If the user has a dedicated MCP for a capability (e.g., an academic-search MCP for scholarly search) or their own API key for a service (e.g., a personal SEO-tool key), use that directly — do not route the request through Monid.
  3. Monid — for needs the above don't cover.

Why this matters: Monid runs spend the user's Monid balance. Never spend it on a request the user's own key or tool already covers at no extra cost.

Offer, don't override. When both the user's tool and a Monid endpoint could handle the task and the user hasn't stated a preference, use the user's tool. If Monid adds a genuine capability their tool lacks, mention it as an alternative and let the user choose — never silently switch.

Endpoint Health

discover shows a Health column: a status verdict plus the median run time, e.g. healthy 4.4s. inspect adds the tail — Run time: 4.4s typical · 6.1s tail. With -j, both are on each result's metrics field.

StatusMeaning
healthyConfirmed working within the last few minutes.
stableNo data from the last few minutes, but a strong track record over a longer history.
degradedUnstable, or trending that way — still works in most cases.
outageKnown not to be working. Hidden from discover unless you pass -u/--include-unavailable.
unknown (or blank)Not enough data to reach a verdict.

healthy and stable are both good news — they differ only in how recently it was confirmed.

Use health to break ties, never to filter. Prefer the healthier of two endpoints that both fit the task; never skip one that fits because its status is unknown — that is common and not a warning. Any status not listed here prints as-is; treat it as informational.

A missing run time means low traffic, not a slow endpoint. Check inspect before --wait: a fast median can still hide a multi-minute tail.

Check the Hints

Commands can return a Hints block. When present, it carries suggested actions from the server: which command to run next, how this endpoint relates to others, or caveats worth knowing. Read it before deciding your next move, and prefer its suggestions over guessing. With -j, the same data is on the response's hints field.


Commands

Each command supports --help for full usage. Here's what's available:

CommandWhat it does
monid discoverSearch for data endpoints using natural language (-q <query>, -l <limit>, -s <minScore>, -u to include endpoints in outage)
monid inspectGet full details and input schema for a specific endpoint (-p <provider> -e <endpoint>)
monid runExecute a data endpoint (-p, -e, -i for body JSON, -f for body input file, --query for query params, --path for path params, -w to wait, -o to save output)
monid runs listList recent runs
monid runs getGet run status and results (-r <runId>, -w to wait)
monid runs stopStop an in-progress run (-r <runId>). Not all runs can be stopped
monid balanceShow current workspace balance
monid setupComplete CLI setup after installation (no API key required)
monid keys addAdd an API key (-k <key> -l <label>)
monid keys listShow configured keys
monid keys removeRemove a key (-l <label>, -f to skip confirmation)
monid keys activateSwitch the active key (-l <label>)

Most commands accept -j/--json for machine-readable JSON output.


Workflow

The standard workflow is: discover → inspect → run → poll → (check balance).

bash
# 1. Discover endpoints for your data need
# Results show relevance score and verified badge
# Use -s to filter by minimum score (higher = more relevant)
monid discover -q "twitter posts"

# 2. Inspect the endpoint to learn its input schema (shows verified status)
monid inspect -p apify -e /apidojo/tweet-scraper

# 3. Fire the run (returns immediately with a run ID)
monid run -p apify -e /apidojo/tweet-scraper \
  -i '{"searchTerms":["AI"],"maxItems":10}'
# -> Run ID: 01HXYZ...

# 4. Poll for completion
monid runs get -r 01HXYZ...
# -> status: RUNNING

# Keep polling every 5-10 seconds until COMPLETED
monid runs get -r 01HXYZ... -o tweets.json
# -> status: COMPLETED

# 5. (Optional) Check remaining balance
monid balance

Using --wait:

--wait blocks until completion (1-120 seconds) with built-in exponential backoff:

bash
# This will block for the entire duration
monid run -p apify -e /apidojo/tweet-scraper \
  -i '{"searchTerms":["AI"],"maxItems":10}' \
  -w -o tweets.json

When to use --wait:

  • Async/background tasks where blocking is acceptable
  • You can set a timeout: -w 30 (wait max 30 seconds)
  • Be aware: runs can take 1-120 seconds, so this may block the conversation or hit runtime timeouts

Example Flows

Flow 1: Scrape Twitter posts about AI

bash
# Discover what Twitter endpoints are available
monid discover -q "twitter posts"

# Inspect to learn the input schema (pathParams, queryParams, body)
monid inspect -p apify -e /apidojo/tweet-scraper

# Run with a single search term, small limit
monid run -p apify -e /apidojo/tweet-scraper \
  -i '{"searchTerms":["AI agents"],"maxItems":10}'
# -> Run ID: 01HXYZ...

# Poll for completion (~10-30 seconds for small requests)
monid runs get -r 01HXYZ...
# -> status: RUNNING

# Check again after 10 seconds, save when complete
monid runs get -r 01HXYZ... -o ai_tweets.json
# -> status: COMPLETED

Flow 2: Compare AI discussion across platforms

User asks: "Compare AI discussion on Twitter vs LinkedIn."

Break this into unit pieces — one endpoint per data source:

bash
# Discover endpoints for each platform
monid discover -q "twitter posts"
monid discover -q "linkedin posts"

# Inspect each to learn their input schemas (pathParams, queryParams, body)
monid inspect -p apify -e /apidojo/tweet-scraper
monid inspect -p apify -e /harvestapi/linkedin-post-search

# Fire both runs
monid run -p apify -e /apidojo/tweet-scraper \
  -i '{"searchTerms":["AI"],"maxItems":20}'
# -> Run ID: 01HTWIT...

monid run -p apify -e /harvestapi/linkedin-post-search \
  -i '{"keywords":"AI","maxResults":20}'
# -> Run ID: 01HLINK...

# Poll both runs independently
monid runs get -r 01HTWIT... -o twitter_ai.json
monid runs get -r 01HLINK... -o linkedin_ai.json

# Now analyze and compare the two result files

Flow 2b: Feed a local file to an endpoint that needs a public URL

Some endpoints (e.g. image-to-video generation) take a URL as input, not a file. Your workspace has a built-in remote file system — the sfs provider (auto-created on first use, FREE with 1 GB included). Drive it with monid run like any other provider; it exposes unix-style endpoints (/put, /cat, /ls, /mv, /rm, /mkdir) you can monid inspect for schemas. The API only signs URLs — file bytes move directly between you and sfs.monid.ai via curl.

bash
# 1. Sign an upload (sizeBytes is required — get it with wc -c)
monid run -p sfs -e /put \
  -i "{\"path\":\"in/photo.png\",\"sizeBytes\":$(wc -c < ./photo.png)}" -w
# -> output: { "uploadUrl": "https://sfs.monid.ai/…", "ref": … }

# 2. Upload the bytes to the signed URL
curl -T ./photo.png '<uploadUrl from step 1>'

# 3. Mint a URL any third party can fetch (ttl preset: 1h/1d/7d/30d, default 1h)
monid run -p sfs -e /cat -i '{"path":"in/photo.png","ttl":"1d"}' -w
# -> output: { "url": "https://sfs.monid.ai/…?e=…&s=…", "expiresAt": … }

# 4. Use it as the endpoint's input URL
monid run -p bytedance -e /seedance… -i '{"imageUrl": "<url from step 3>"}'

# Downloading works the same way: /cat returns a signed url — curl it
curl -o photo.png '<url from /cat>'

# Cleanup is yours (files are never auto-deleted; /rm frees quota space)
monid run -p sfs -e /rm -i '{"path":"in/photo.png"}' -w

Flow 3: Using query and path parameters

When monid inspect shows queryParams or pathParams, pass them with --query and --path:

bash
# Inspect shows: body, queryParams, and pathParams
monid inspect -p some-provider -e /users/{userId}/posts

# Run with all three param types
monid run -p some-provider -e /users/{userId}/posts \
  --path '{"userId": "12345"}' \
  --query '{"limit": 10, "sort": "recent"}' \
  -i '{"filter": "public"}' \
  -w -o posts.json

Flow 4: Using an input file for complex parameters

When input JSON is large or reusable, write it to a file and use -f:

bash
# Write input to a file
# (assume params.json contains the endpoint's body input parameters)

monid run -p apify -e /damilo/google-maps-scraper \
  -f params.json -w -o results.json

Cost & Budget Warning

Many endpoints (especially Apify) are charged per result and accept multiple queries in a single call. Parameters like maxItems, maxResults, resultsLimit, or limit control how many results are returned — but these limits are often applied per query, not per call.

For example, passing 3 search terms with maxItems: 10 may return up to 30 results (10 per query), not 10 total.

To control costs:

  • Prefer a single query per call. Pass one search term, one URL, one hashtag at a time.
  • Start with small limits (5-10) on the first call. Increase if needed.
  • If the endpoint accepts an array (e.g. searchTerms, hashtags, urls), pass only one element unless the user explicitly requests multiple.
  • Check the input schema from monid inspect to identify which parameters control volume.

Key Management

bash
monid keys add -k <api-key> -l <label>     # Add a key (first key is auto-activated)
monid keys list                              # Show all configured keys
monid keys activate -l <label>               # Switch the active key
monid keys remove -l <label>                 # Remove a key (use -f to skip confirmation)

API key format: monid_<stage>_<secret> (e.g. monid_live_abc123...). Generate keys at https://app.monid.ai/access/api-keys.


Run Statuses

StatusMeaning
READYQueued, waiting to start
RUNNINGActively executing
COMPLETEDFinished successfully — results available
FAILEDExecution failed — check error details
BLOCKEDA workspace control (budget or run cap) prevented the run — see the controls list for which one
STOPPEDThe run was stopped on request via monid runs stop
TIME_OUTThe run exceeded its time limit and was terminated

Runs typically take 1 to 120 seconds depending on the endpoint and data volume.

Stopping a run

Request a stop with monid runs stop:

bash
monid runs stop -r 01HXYZ...

Not all runs can be stopped. Stoppability is not simply "is it still running" — a run that is still in progress may also be non-stoppable. The authoritative signal is the stoppable field on the run detail from monid runs get -r <runId> (from GET /v1/runs/{id}): only attempt a stop when stoppable is true. If stoppable is false, do not attempt it — this includes runs in a terminal state (COMPLETED, FAILED, BLOCKED, STOPPED, TIME_OUT) as well as in-progress runs that the platform does not allow stopping. Attempting to stop a non-stoppable run returns a conflict.

bash
# Check the run first; when stoppable, the output ends with a hint line
monid runs get -r 01HXYZ...
# -> This run is stoppable. Stop it with: monid runs stop -r 01HXYZ...

# Then stop it
monid runs stop -r 01HXYZ...

A stop is accepted asynchronously — poll with monid runs get -r <runId> until the run reaches STOPPED.

When a run is BLOCKED, the response includes a controls array of the snapshots that blocked it. Each entry has a controlId and a snapshot describing the limit — currently WORKSPACE_BUDGET (period plus limit / available / held / spent amounts) or WORKSPACE_RUN_CAP (a per-run limit amount). A BLOCKED run is terminal — it will not proceed on its own, so polling stops. Tell the user the run was blocked by a workspace control and that they can pause or modify these controls from the dashboard at https://app.monid.ai before retrying.


Polling Best Practices

Default approach (recommended for interactive use):

  • Fire the run without --wait — returns immediately with a run ID
  • Poll with monid runs get -r <runId> every 5-10 seconds
  • This keeps the conversation responsive and avoids blocking for 1-120 seconds

When to use --wait:

  • Async/background tasks where blocking is acceptable (e.g., scheduled jobs, non-interactive scripts)
  • Set a timeout if needed: -w 30 waits max 30 seconds, then returns current status
  • Be aware: Runs can take 1-120 seconds. Using --wait without a timeout can block the conversation or hit agent runtime limits.

Saving output:

  • Always use -o <file> to save results once the run completes (works with both approaches)

Troubleshooting

"No active API key" — No key configured. Run monid keys add -k <key> -l main.

401 / Unauthorized — API key is invalid or expired. Check with monid keys list, generate a new one at https://app.monid.ai/access/api-keys.

Run status FAILED — Check error details with monid runs get -r <runId>. Common causes: invalid input parameters (re-inspect the endpoint), rate limits (retry later), or request scope too large (reduce item count).

Run status BLOCKED — A workspace control stopped the run before it executed (e.g. a budget cap or run cap). Inspect the controls array in monid runs get -r <runId> to see which control triggered. Retrying as-is will block again until the control is changed — let the user know they can pause or adjust the control on the dashboard (https://app.monid.ai), or wait for a budget window to reset.

Run taking a long time — Normal for some endpoints. Runs can take up to 120 seconds. Keep polling or let --wait handle it.


Rules for Agents

  1. Check the user's stack first, then discover — Monid covers needs the user's existing MCPs, keys, and tools don't. Before writing custom scrapers, using generic fetches for structured data, or declaring something inaccessible, run monid discover. The catalog grows continuously and you don't know what's available until you search.
  2. Never route around the user's own tools — if the user has a dedicated MCP, API key, or workflow for a service, use it. Monid runs cost the user money; their existing tools may not. Offer Monid as an alternative only when it adds capability, and let the user choose.
  3. Always inspect before running — never guess input parameters. The input field from monid inspect is the source of truth. It shows pathParams, queryParams, body, and bodyType so you know exactly where each parameter goes. Map them to run flags: body → -i, queryParams → --query, pathParams → --path.
  4. Keep discover queries short and focused — noun phrases work best ("twitter posts", "amazon product prices"). Break complex requests into smaller unit pieces.
  5. Prefer fire-and-poll for interactive use — fire the run without --wait, then poll with monid runs get every 5-10 seconds. This keeps the conversation responsive. Use --wait only for async/background tasks where blocking 1-120 seconds is acceptable.
  6. Always use -o <file> to save results to a file once the run completes.
  7. Start with conservative limits — small maxItems/maxResults values (5-10) on first calls. The cost warning above explains why.
  8. Report costs when relevant — after a run completes, the result includes cost.value. Consider telling the user how much the run cost. Use monid balance to check remaining balance if the user cares about budget. Use your judgment — don't report costs if the user hasn't indicated cost-awareness.
  9. Run monid <command> --help to check the latest flags and usage — the CLI is the source of truth for command signatures.
  10. Check the Hints block — when a command's output includes a Hints section, read it and act on it. It carries suggested next steps, endpoint relationships, and caveats from the server — prefer its suggestions over guessing your next command.
  11. Use health to break ties, never to filter — prefer the healthier of two endpoints that both fit (healthy and stable are both good; avoid degraded). Never skip an endpoint over an unknown status or a missing run time; both usually just mean low traffic. See Endpoint Health.
  12. Surface BLOCKED runs to the user — a BLOCKED status means a workspace control (budget or run cap) stopped the run; it is terminal and will not self-resolve. Report which control blocked it (from the controls list) and tell the user they can pause or modify that control on the dashboard (https://app.monid.ai) before retrying.

常见问题

Monid AI 技能有什么作用?

Discover better ways to complete tasks. Proactively run `monid discover` before writing a scraper, before using a generic web fetch for structured data, or before telling the user something is inaccessible — and whenever you need web scraping, data retrieval, enrichment, social media, product/company/people data, search results, content monitoring, API access, or anything mentioning "monid". Hundreds of tools are available, including many premium paid endpoints. Exception: if the user already has a dedicated MCP server, API key, or tool for that specific service, use it — Monid fills the ga...

为什么在 TypingMind 中使用 Monid?

因为您只需安装一次,就能搭配任何模型使用。Monid 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型,甚至可以在聊天中途切换模型,而不会影响技能正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Monid?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/monid。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Monid?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Monid 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以搭配 Monid 使用,包括 GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等,都可在 TypingMind 中使用您自己的 API 密钥接入。

Monid AI 技能免费吗?

是的。该技能源自 OpenLinkSoftware 在 GitHub 上以 MIT 许可证发布的项目。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇