outline-kb
Outline 知识库 API 交互。搜索文档、创建/编辑文档、管理 Collections、列出用户等。当用户需要与 Outline 知识库交互时使用,包括搜索内容、创建文档、查看文档结构、导出文档、管理权限等。
About this skill
This skill provides a comprehensive interface for AI agents to interact with an Outline knowledge base via its API. It enables agents to perform a wide array of operations, including searching for specific documents using keywords, creating new documents with specified titles and content, updating existing articles, and managing the hierarchical structure through parent documents. Beyond document management, the skill also supports operations on collections, allowing agents to organize content efficiently, and provides functionality to list users and export documents in various formats. Users would deploy this skill to empower their AI assistants to automate knowledge management workflows. This includes enabling AI to quickly retrieve relevant information for answering queries, generating new content directly into the knowledge base, or performing administrative tasks such as archiving or restoring documents. It's particularly useful for organizations looking to integrate their Outline knowledge base more deeply with AI-driven tools and processes. The primary benefit is transforming an AI agent into a capable knowledge base administrator and content contributor. Instead of manually navigating the Outline UI, an agent can execute complex operations through simple commands, significantly boosting productivity in content creation, retrieval, and overall knowledge base maintenance.
Best use case
The primary use case for this skill is to empower AI agents to directly manage and interact with an Outline knowledge base. This benefits individuals and teams who wish to automate their knowledge management processes, enabling AI to efficiently search for information, create new articles, update existing content, or manage document collections and user access without manual intervention. It streamlines the lifecycle of knowledge within an organization, making information more accessible and dynamic through AI automation.
Outline 知识库 API 交互。搜索文档、创建/编辑文档、管理 Collections、列出用户等。当用户需要与 Outline 知识库交互时使用,包括搜索内容、创建文档、查看文档结构、导出文档、管理权限等。
Users can expect their AI agent to successfully perform operations such as finding specific documents, creating new content, updating existing articles, or managing Outline collections directly via programmatic API calls.
Practical example
Example input
Search for all documents related to 'onboarding process' in our Outline knowledge base and list their titles.
Example output
Found 2 documents: 'New Employee Onboarding Checklist', 'HR Onboarding Flowchart'.
When to use this skill
- When an AI agent needs to search for specific information within an Outline knowledge base.
- When an AI agent needs to create, update, or delete documents in Outline.
- When an AI agent needs to manage Outline collections or list users.
- When automating knowledge base content management and retrieval tasks via AI.
When not to use this skill
- When no Outline knowledge base is in use or accessible.
- When the task does not involve interacting with a knowledge base system.
- When sensitive information requires manual review or approval before any automated action.
- When the AI agent lacks the necessary API key and base URL for Outline access.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/outline-kb/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How outline-kb Compares
| Feature / Agent | outline-kb | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | easy | N/A |
Frequently Asked Questions
What does this skill do?
Outline 知识库 API 交互。搜索文档、创建/编辑文档、管理 Collections、列出用户等。当用户需要与 Outline 知识库交互时使用,包括搜索内容、创建文档、查看文档结构、导出文档、管理权限等。
How difficult is it to install?
The installation complexity is rated as easy. You can find the installation instructions above.
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
Top AI Agents for Productivity
See the top AI agent skills for productivity, workflow automation, operational systems, documentation, and everyday task execution.
AI Agent for YouTube Script Writing
Find AI agent skills for YouTube script writing, video research, content outlining, and repeatable channel production workflows.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# Outline Knowledge Base API
## 配置
通过环境变量配置(必填):
| 变量 | 说明 | 示例 |
|------|------|------|
| `OUTLINE_BASE_URL` | Outline 实例地址(含 `/api`) | `https://example.com/api` |
| `OUTLINE_API_KEY` | API Key(`ol_api_` 开头) | `ol_api_xxxxxxxxx` |
**获取 API Key**: Outline → Settings → API Keys → Create
## 协议
- 全部 POST,Content-Type: application/json,参数放 body
- 认证: `Authorization: Bearer $OUTLINE_API_KEY`
- 响应: `{ "ok": true/false, "data": ..., "status": 200 }`
- 分页: list 类接口支持 `limit` + `offset`,响应含 `pagination.nextPath`
- 错误: `{ "ok": false, "error": "message" }`
- 限流: 429 状态码,等待 `Retry-After` 秒
## 调用方式
读取环境变量后用 curl 调用:
```bash
OUTLINE_BASE_URL="${OUTLINE_BASE_URL:?未设置 OUTLINE_BASE_URL}"
OUTLINE_API_KEY="${OUTLINE_API_KEY:?未设置 OUTLINE_API_KEY}"
curl -s "$OUTLINE_BASE_URL/documents.list" \
-X POST -H "authorization: Bearer $OUTLINE_API_KEY" \
-H "content-type: application/json" -d '{}'
```
或用 web_fetch POST 到 `$OUTLINE_BASE_URL/端点名`。
首次使用时先验证连通性:`auth.info` 端点(无需参数),返回当前用户和团队信息。
## 常用操作速查
### 文档 (Documents)
| 操作 | 端点 | 关键参数 |
|------|------|---------|
| 搜索文档 | `documents.search` | `query`, `collectionId?`, `userId?` |
| 搜索标题 | `documents.search_titles` | `query` |
| AI 问答 | `documents.answerQuestion` | `query`, `documentId?` |
| 文档详情 | `documents.info` | `id*` |
| 创建文档 | `documents.create` | `title*`, `collectionId*`, `text?`, `parentDocumentId?` |
| 更新文档 | `documents.update` | `id*`, `title?`, `text?` |
| 列出文档 | `documents.list` | `collectionId?`, `limit?`, `offset?` |
| 草稿列表 | `documents.drafts` | |
| 归档文档 | `documents.archive` | `id*` |
| 恢复文档 | `documents.restore` | `id*` |
| 删除文档 | `documents.delete` | `id*` |
| 导出文档 | `documents.export` | `id*`, `format?` (markdown/html) |
| 复制文档 | `documents.duplicate` | `id*`, `title?`, `collectionId?` |
| 移动文档 | `documents.move` | `id*`, `collectionId*`, `parentDocumentId?` |
| 子文档结构 | `documents.documents` | `id*` |
| 最近查看 | `documents.viewed` | |
### 文集 (Collections)
| 操作 | 端点 | 关键参数 |
|------|------|---------|
| 列出文集 | `collections.list` | `query?`, `limit?`, `offset?` |
| 文集详情 | `collections.info` | `id*` |
| 创建文集 | `collections.create` | `name*`, `description?`, `permission?`, `icon?`, `color?` |
| 更新文集 | `collections.update` | `id*`, `name?`, `description?` |
| 文集文档树 | `collections.documents` | `id*` |
| 导出文集 | `collections.export` | `id*`, `format?` |
| 删除文集 | `collections.delete` | `id*` |
### 用户 (Users)
| 操作 | 端点 | 关键参数 |
|------|------|---------|
| 列出用户 | `users.list` | `query?`, `limit?`, `offset?` |
| 用户详情 | `users.info` | `id*` |
| 邀请用户 | `users.invite` | `emails*`, `role?`, `collectionId?` |
### 评论 (Comments)
| 操作 | 端点 | 关键参数 |
|------|------|---------|
| 创建评论 | `comments.create` | `documentId*`, `data*` (JSON `{type, text?}`) |
| 列出评论 | `comments.list` | `documentId*` |
| 更新评论 | `comments.update` | `id*`, `data*` |
| 删除评论 | `comments.delete` | `id*` |
### 其他
- **Stars**: `stars.list` / `stars.create`(`documentId*` or `collectionId*`) / `stars.delete`
- **Shares**: `shares.list` / `shares.create`(`documentId*`) / `shares.revoke`
- **Groups**: `groups.list` / `groups.create`(`name*`) / `groups.info`
- **Templates**: `templates.list` / `templates.create`(`title*`, `text?`)
## 注意事项
- 删除操作不可逆,先确认
- 文档内容格式为 Markdown
- `id` 参数为 UUID 格式
- 遇到 429 等待 `Retry-After` 秒后重试
- 完整 API 端点参考见 `references/api-endpoints.md`
- OpenAPI 原始规范: <https://github.com/outline/openapi/blob/main/spec3.yml>Related Skills
agent-autonomy-kit
Stop waiting for prompts. Keep working.
Meeting Prep
Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.
obsidian
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
Obsidian CLI 探索记录
Skill for the official Obsidian CLI (v1.12+). Complete vault automation including files, daily notes, search, tasks, tags, properties, links, bookmarks, bases, templates, themes, plugins, sync, publish, workspaces, and developer tools.
📝 智能摘要助手 (Smart Summarizer)
Instantly summarize any content — articles, PDFs, YouTube videos, web pages, long documents, or pasted text. Extracts key points, action items, and insights. Use when you need to quickly digest long content, create meeting notes, or extract takeaways from any source.
Customer Onboarding
Systematically onboard new clients with checklists, welcome sequences, milestone tracking, and success metrics. Reduce churn by nailing the first 90 days.
CRM Manager
Manages a local CSV-based CRM with pipeline tracking
Invoice Generator
Creates professional invoices in markdown and HTML
Productivity Operating System
You are a personal productivity architect. Your job: help the user design, execute, and optimize their daily system so they consistently ship high-impact work while protecting energy and avoiding burnout.
Product Launch Playbook
You are a Product Launch Strategist. You guide users through planning, executing, and optimizing product launches — from pre-launch validation through post-launch growth. This system works for SaaS, physical products, services, marketplaces, and content products.
Procurement Manager
You are a procurement specialist agent. Help teams evaluate vendors, manage purchase orders, negotiate contracts, and optimize spend.
Procurement Operations Agent
You are a procurement operations analyst. When the user provides company details, run a full procurement assessment.