Token导航 LogoToken导航

Agent Skill · 研究检索

outline-skills(概述技能)

outline-skills 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

outline-skills 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 55,679。

总安装 470周安装 20GitHub Stars 3下载 165核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:outline-skills(概述技能)
来源仓库:https://github.com/visualdust/outline-skills
仓库路径:skills/outline-skills
安装命令:
npx skills add https://github.com/visualdust/outline-skills --skill outline-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/visualdust/outline-skills --skill outline-skills

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

outline-skills 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。适用于技能分类、能力映射或学习路径设计等场景。通过关键词检索返回技能树、评估标准或使用案例。

安装命令为 npx skills add https://github.com/visualdust/outline-skills --skill outline-skills。使用前请确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。

来源仓库内路径:skills/outline-skills

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/visualdust/outline-skills --skill outline-skil…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

outline-skills 怎么安装?

在终端执行 npx skills add https://github.com/visualdust/outline-skills --skill outline-skills。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

outline-skills 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

outline-skills 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

outline-skills 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

outline-skills 用的人多吗?

公开数据是累计安装 470 次,近一周安装 20 次,下载 165 次,GitHub 3 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

outline-skills 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
outline-skills

概述技能 · 本页

4703接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Outline Skills

Purpose

Use this skill when the user asks to operate an Outline knowledge base via API/CLI.

Outline Content Guidance

Outline documents support rich, structured content — not just plain paragraphs. When creating or updating documents, actively choose formatting that fits the task: headings, bullet/numbered lists, task lists, tables, quotes, code fences, callouts, links, attachments, and Mermaid diagrams when helpful.

For math, use dollar-sign delimiters so Outline renders it correctly: $x^2 + y^2$ for inline math and $$\int_0^1 x^2\,dx$$ for display math. Avoid LaTeX-style \(...\) and \[...\] delimiters because they may remain plain text in Outline.

Prefer readable structure over large walls of text. For example:

  • use headings for sections
  • use lists for steps, options, and summaries
  • use tables for comparisons
  • use code fences for commands/snippets
  • use $...$ or $$...$$ for math expressions
  • use Mermaid for flows, architecture, or state diagrams

When to Trigger

Trigger this skill when requests involve:

  • Outline documents or collections
  • knowledge base search
  • users/groups/comments/attachments/file operations
  • share links, stars, revisions, events, or views

Agent Execution Checklist

Before running commands:

  1. Confirm the user intent (read vs write vs destructive action).
  2. Confirm required identifiers (document-id, collection-id, etc.).
  3. Ensure auth is configured.
  4. For destructive actions (delete, archive, revoke), confirm scope with user if ambiguous.

After running commands:

  1. Report the key result in plain language.
  2. Include IDs/URLs returned by Outline when useful.
  3. If command fails, provide likely cause + exact next command to retry.
  4. Do not publish or share documents/collections unless the user asked for it.

Prerequisites

  • Install CLI: pip install outline-kb-cli
  • API key format: ol_api_...
  • CLI command: outline-cli

Configuration

Supported Sources (highest priority first)

  1. CLI flags: --api-key, --base-url, --timeout
  2. Environment variables
  3. Project config: .outline-skills/config.json
  4. User config: ~/.outline-skills/config.json

Important Notes

Parameter Order: Global parameters (--api-key, --base-url, --timeout) MUST be placed BEFORE the subcommand:

# ✓ Correct
outline-cli --api-key "..." --base-url "..." collections list

# ✗ Wrong
outline-cli collections list --api-key "..." --base-url "..."

Output mode: By default, outline-cli prints compact, agent-friendly JSON summaries rather than the complete raw Outline API response. The summary preserves practical fields like IDs, names, URLs, counts, pagination, and bounded text previews while omitting noisy nested fields such as policies and collaboration tokens. Use --raw when you need exact API JSON, and use --max-text-chars to control summary previews:

outline-cli auth info                         # compact identity/team summary
outline-cli search "deployment guide" --limit 5
outline-cli documents info --id "document-id" --max-text-chars 1000
outline-cli documents info --id "document-id" --max-text-chars 0  # metadata only
outline-cli auth info --raw                   # complete API response

--raw and --max-text-chars may be placed after the nested command, as shown above. API errors and config warnings are written to stderr, so stdout stays valid JSON on successful commands.

Base URL Format: The base URL usually include the /api suffix:

# ✓ Correct
https://app.getoutline.com/api
https://outline.example.com/api

# ✗ Wrong
https://app.getoutline.com
https://outline.example.com

Large Content Input: Prefer file-backed inputs for longer Markdown/comment bodies instead of very large shell arguments:

outline-cli documents create --title "Title" --collection-id "collection-id" --text-file ./doc.md
outline-cli documents update --id "document-id" --text-file ./doc.md
outline-cli comments create --document-id "document-id" --data-file ./comment.md
outline-cli comments update --id "comment-id" --data-file ./comment.md

Local Markdown with images/assets: Use the higher-level documents create-from-file workflow instead of plain documents create --text-file when the Markdown contains local image references. It preflights assets, uploads each unique local file as an Outline attachment, rewrites Markdown links, and rolls back temporary resources on upload/update failures.

Recommended safe sequence:

outline-cli documents create-from-file --file ./report.md --collection-id "collection-id" --dry-run
outline-cli documents create-from-file --file ./report.md --collection-id "collection-id" --title "Report" --save-rewritten ./report.outline.md

If the user asks for real testing, create/use an empty test collection first so existing Outline content is not polluted.

Environment Variables

export OUTLINE_API_KEY="ol_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export OUTLINE_BASE_URL="https://app.getoutline.com/api"  # Must include /api suffix

Config File Example

{
  "api_key": "ol_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "base_url": "https://app.getoutline.com/api",
  "timeout": 30
}

Quick Command Reference

Documents

outline-cli documents create --title "Title" --text "Content" --collection-id "collection-id"
outline-cli documents create --title "Title" --text-file "./doc.md" --collection-id "collection-id"
outline-cli documents info --id "document-id"
outline-cli documents list --collection-id "collection-id"
outline-cli documents update --id "document-id" --title "New Title"
outline-cli documents update --id "document-id" --text-file "./doc.md"
outline-cli documents archive --id "document-id"
outline-cli documents restore --id "document-id"
outline-cli documents delete --id "document-id"
outline-cli documents move --id "document-id" --collection-id "collection-id"
outline-cli documents duplicate --id "document-id"
outline-cli documents templatize --id "document-id"
outline-cli documents export --id "document-id"
outline-cli documents import --file "./doc.md"   # local file; Markdown/text is imported directly, other files use Outline import flow (supported formats depend on server)
outline-cli documents create-from-file --file "./report.md" --collection-id "collection-id"  # local Markdown with local images/assets
outline-cli documents create-from-file --file "./report.md" --collection-id "collection-id" --dry-run
outline-cli documents create-from-file --file "./report.md" --collection-id "collection-id" --upload-local-links --save-rewritten "./report.outline.md"
outline-cli documents drafts --collection-id "collection-id"
outline-cli documents archived --limit 25 --offset 0
outline-cli documents deleted --limit 25 --offset 0
outline-cli documents viewed --limit 25 --offset 0
outline-cli documents empty-trash
outline-cli documents unpublish --id "document-id"
outline-cli documents add-user --id "document-id" --user-id "user-id"
outline-cli documents remove-user --id "document-id" --user-id "user-id"
outline-cli documents memberships --id "document-id"
outline-cli documents users --id "document-id"
outline-cli documents add-group --id "document-id" --group-id "group-id"
outline-cli documents remove-group --id "document-id" --group-id "group-id"
outline-cli documents group-memberships --id "document-id"

Collections

outline-cli collections list
outline-cli collections info --id "collection-id"
outline-cli collections create --name "Collection Name"
outline-cli collections update --id "collection-id" --name "New Name"
outline-cli collections delete --id "collection-id"
outline-cli collections documents --id "collection-id"
outline-cli collections add-user --id "collection-id" --user-id "user-id"
outline-cli collections remove-user --id "collection-id" --user-id "user-id"
outline-cli collections memberships --id "collection-id"
outline-cli collections add-group --id "collection-id" --group-id "group-id"
outline-cli collections remove-group --id "collection-id" --group-id "group-id"
outline-cli collections group-memberships --id "collection-id"
outline-cli collections export --id "collection-id" --format "markdown"
outline-cli collections export-all --format "markdown"

Sharing workflow for collections:

  • To share a collection with a specific person, use collections add-user.
  • This requires user-id, so first find the user with users list --query, usually by email or name.
  • After creating a collection/document, if sharing may be needed, ask the user whether it should be shared before the next interaction.
  • If sharing with the user you are talking to, admin is usually the right default.
  • If auth info shows the API key already belongs to the same person the user wants to share with, no extra sharing is needed.
  • If sharing with someone else, ask whether they should get read-only access or edit/manage access.
  • If the target person is ambiguous, confirm identity before sharing.

Search

outline-cli search "query"
outline-cli search "query" --titles-only
outline-cli search "query" --collection-id "collection-id" --limit 10

Authentication

outline-cli auth info  # Get current user and team information

Returns:

  • Current user details (id, name, email, role, preferences)
  • Team/workspace information
  • User's groups and permissions
  • Available teams

Use cases:

  • Verify API key is working and check which user it belongs to
  • Get current user's ID for permission operations
  • Check user's role and permissions
  • Troubleshoot authentication issues

Users / Groups

outline-cli users list --limit 25
outline-cli users info --id "user-id"
outline-cli users invite --email "new-user@example.com" --name "New User"
outline-cli users update --id "user-id" --name "Updated Name"
outline-cli users update-role --id "user-id" --role member
outline-cli users suspend --id "user-id"
outline-cli users activate --id "user-id"
outline-cli users delete --id "user-id"

outline-cli groups list
outline-cli groups info --id "group-id"
outline-cli groups create --name "Group Name"
outline-cli groups update --id "group-id" --name "New Name"
outline-cli groups delete --id "group-id"
outline-cli groups add-user --id "group-id" --user-id "user-id"
outline-cli groups remove-user --id "group-id" --user-id "user-id"
outline-cli groups memberships --id "group-id"

Comments / Attachments

Comment Features:

  • outline-cli comments create accepts Markdown text through Outline's text field, so common formatting like paragraphs, lists, bold, italics, and inline code renders as rich text in Outline comments
  • Maximum length is still about 1000 characters per posted comment
  • Longer comments create replies are auto-split into numbered threaded comments like [1/3], [2/3], [3/3]
  • Auto-splitting tries to preserve Markdown block boundaries such as paragraphs, lists, and fenced code blocks
  • Comments can be threaded (replies), resolved/unresolved, and reacted to with emojis

Comment Operations:

outline-cli comments list --document-id "document-id"
outline-cli comments create --document-id "document-id" --data "Comment text"
outline-cli comments create --document-id "document-id" --data-file "./comment.md"
outline-cli comments create --document-id "document-id" --data "Reply text" --parent-id "parent-comment-id"
outline-cli comments update --id "comment-id" --data "Updated comment"
outline-cli comments update --id "comment-id" --data-file "./comment.md"
outline-cli comments delete --id "comment-id"
outline-cli comments resolve --id "comment-id"
outline-cli comments unresolve --id "comment-id"
outline-cli comments add-reaction --id "comment-id" --emoji "👍"
outline-cli comments remove-reaction --id "comment-id" --emoji "👍"

When to use comment features:

  • Use resolve to mark discussions/issues as completed
  • Use unresolve to reopen discussions that need more attention
  • Use reactions for quick feedback (👍, ❤️, 😊, etc.)
  • Use --parent-id to reply to specific comments and create threaded discussions
  • comments create is the preferred path for rich-text replies from Markdown input
  • For very long replies, let the CLI auto-split them instead of manually guessing chunk sizes
  • When listing comments on documents with many comments, use --limit and --offset for pagination

IMPORTANT - Comment Threading Limitation:

  • Outline only supports ONE level of threading (replies to top-level comments)
  • When replying to a comment that already has a parentCommentId, you MUST use that comment's parent as your --parent-id, NOT the comment itself
  • Example:

- Top-level comment A (parentCommentId: null) - Reply B to A (parentCommentId: A's ID) - To reply to B, use --parent-id A's ID, NOT B's ID

  • If you try to reply to a reply (nested 2+ levels), the comment will be created but won't display correctly in the UI

Attachment Operations:

outline-cli attachments create --name "file.pdf" --document-id "document-id" --content-type "application/pdf" --size 1024
outline-cli attachments upload --file "./figure.png" --document-id "document-id"
outline-cli attachments redirect --id "attachment-id"
outline-cli attachments delete --id "attachment-id"

Local Markdown publishing details:

  • documents create-from-file supports inline Markdown images (![alt](path.png)), reference-style images, and HTML <img src="path.png"> outside fenced/indented code blocks.
  • Remote URLs, anchors, and data: URLs are left unchanged.
  • By default, local asset paths must stay under the Markdown file directory. Use --asset-root to restrict the allowed tree, or --allow-outside-assets only when intentionally uploading files outside it.
  • Use --upload-local-links to upload local non-image links such as PDFs.
  • Broken local asset references are reported before any Outline API write happens, including line/column, resolved path, and reason.
  • If an upload/update fails after temporary resources were created, the error includes best-effort cleanup results for uploaded attachments and the temporary document.

Shares / Stars / Revisions / Events

outline-cli shares create --document-id "document-id"
outline-cli shares list --document-id "document-id"
outline-cli shares info --id "share-id"
outline-cli shares revoke --id "share-id"
outline-cli shares update --id "share-id" --published

outline-cli stars create --document-id "document-id"
outline-cli stars list
outline-cli stars delete --id "star-id"
outline-cli stars update --id "star-id" --index 0

outline-cli revisions list --document-id "document-id"
outline-cli revisions info --id "revision-id"

outline-cli events list --limit 25
outline-cli events list --document-id "document-id"

File Operations / Views

outline-cli file-operations list --type export
outline-cli file-operations info --id "file-operation-id"
outline-cli file-operations redirect --id "file-operation-id"
outline-cli file-operations delete --id "file-operation-id"

outline-cli views create --document-id "document-id"
outline-cli views list --document-id "document-id" --limit 25

Useful Aliases

  • outline-cli docs / outline-cli doc -> outline-cli documents
  • outline-cli colls / outline-cli coll -> outline-cli collections

Troubleshooting

Authentication Errors

401 Unauthorized:

  • Check API key exists and starts with ol_api_
  • Key may have expired - Ask user to verify the key is still valid in Outline settings
  • Guide user to create a new key: Settings → API → Create new API key
  • Ensure the key hasn't been revoked or deleted

403 Forbidden:

  • Permission scope issue - The API key may not have sufficient permissions
  • Resource access denied - The user account associated with the key may not have access to the requested collection or document
  • Ask user to verify:

- The API key has the required scopes (read, write, admin) - Their account has access to the specific collection/document - They are not trying to access archived or deleted resources

Connection and URL Errors

404 Not Found:

  • If specific resource (document/collection): Resource may not exist or has been deleted
  • If basic operations fail (e.g., collections list, users list):

- Base URL is likely incorrect - Ask user to confirm the base URL includes /api suffix - Example: https://outline.example.com/api (not https://outline.example.com) - Verify the Outline instance URL is correct

The CLI prints a Hint: line for common API errors. Follow it first — for example, a 404 hint that mentions /api usually means OUTLINE_BASE_URL is missing the /api suffix, while a resource-specific 404 usually means the ID is wrong or inaccessible to the API-key user.

429 Rate Limited:

  • Wait briefly and retry.
  • Reduce --limit for list/search commands.
  • Avoid rapid loops that issue many Outline API calls.

5xx Server Error:

  • Retry once in case the server/transient upload path recovered.
  • If it persists, reduce payload size or split very large writes.
  • For self-hosted Outline, check server logs around the printed endpoint/URL.

Connection errors:

  • Verify OUTLINE_BASE_URL is set correctly
  • Verify instance is reachable (not behind firewall/VPN)
  • Check for typos in the URL

Config warnings:

  • Invalid .outline-skills/config.json or ~/.outline-skills/config.json files produce Warning: messages on stderr and are ignored.
  • Fix malformed JSON or remove stale config files if the CLI appears to be using unexpected credentials/base URL.

Comment-Specific Issues

400 Bad Request - "Comment must be less than 1000 characters":

  • Single comment is limited to 1000 characters
  • Solution: Split long content into multiple comments
  • Consider using document content for longer text instead of comments

Comment not rendering Markdown as expected:

  • comments create sends Markdown through Outline's text field and supports common formatting, but comments use a smaller rich-text schema than documents.
  • Complex document-only blocks may not render inside comments; use document content for large or complex formatted output.
  • If a long comment renders strangely, prefer --data-file and let the CLI's Markdown-aware splitter preserve block boundaries.

Created content is not visible to the user

  • Ask which Outline account the user is logged in with.
  • The configured API key may belong to a different account than the one the user is using in the web UI.
  • In that case, the created collection/document may need to be shared with the user's account before they can see it.

Sharing and privacy safety

  • Do not publish or share content unless the user explicitly asked.
  • Prefer email for identity matching when available; users usually will not know their user-id.
  • If the user asks to share with another person and permission level is unclear, ask before granting access.
  • If you are not sure whether the target account is the user's own account, confirm first.

Command not found

pip install --upgrade outline-kb-cli

Safety Notes

  • Never hardcode API keys
  • Prefer env vars or config files
  • For local config files on Unix:
chmod 600 ~/.outline-skills/config.json
  • Confirm destructive actions before execution when user intent is unclear

平台分布

Codex

34.83%
按下载量换算57

Claude

30.65%
按下载量换算51

Cursor

18.27%
按下载量换算30

Gemini CLI

11.31%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills