← 返回
内容创作 Key 中文

Corpus

Access a user's Corpus library from OpenClaw. Use when the user asks to search saved content, fetch item details, save links into Corpus, or create reminders...
访问用户的OpenClaw Corpus库。当用户请求搜索已保存内容、获取项目详情、保存链接至Corpus或创建提醒时使用。
doninocode
内容创作 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 777
下载
💾 13
安装
1
版本
#latest

概述

Corpus Skill

Use this skill to read and write a user's Corpus data through the Corpus API.

Required environment variables

  • CORPUS_API_TOKEN: user token for Corpus API access.

Generate CORPUS_API_TOKEN

  1. Install Corpus AI for iPhone: https://apps.apple.com/us/app/corpus-ai/id6748364607
  2. Open the app and sign in.
  3. Go to Integrations -> OpenClaw.
  4. Create an API token and copy it (the full value is shown once).
  5. Set that value as CORPUS_API_TOKEN in your OpenClaw skill env.

Optional environment variables

  • CORPUS_API_BASE_URL: API base URL (default: https://corpusai.app).
  • CORPUS_TIMEOUT_SECONDS: HTTP timeout in seconds (default: 30).

OpenClaw config example

{
  "skills": {
    "entries": {
      "corpus": {
        "path": "/absolute/path/to/skills/corpus",
        "env": {
          "CORPUS_API_TOKEN": "csk_live_or_jwt_token_here",
          "CORPUS_API_BASE_URL": "https://corpusai.app"
        }
      }
    }
  }
}

Commands

Run all commands through:

python3 {baseDir}/scripts/corpus_api.py [options]

Available commands:

  • profile
  • list-content --limit 20 --cursor
  • search --query "" --limit 8
  • content --user-content-id
  • save-url --url [--user-note ""]
  • create-reminder --title "" --description "<desc>" --scheduled-date-utc "2026-02-18T16:00:00Z" [--user-content-id <id>]</code></li></ul><h2>Recommended workflow for implementation tasks</h2><p>When a user asks for "find items in Corpus and implement":</p><ol><li>Use <code>search</code> with a focused query.</li><li>Use <code>content</code> for top hits to collect concrete steps.</li><li>Produce an implementation plan with explicit file changes.</li><li>Apply code changes in the current working repository after user confirmation.</li></ol><h2>Safety rules</h2><ul><li>Never print or log <code>CORPUS_API_TOKEN</code>.</li><li>Prefer read operations before write operations.</li><li>Before write operations (<code>save-url</code>, <code>create-reminder</code>), confirm user intent if the instruction is ambiguous.</li></ul></div> </div> </div> <div id="tab-versions" class="detail-content"> <div class="detail-section"> <h2>版本历史</h2> <p style="margin-bottom:12px;font-size:14px;color:#94a3b8;">共 1 个版本</p> <ul class="version-list"> <li> <div> <span class="version-tag">v1.0.1</span> <span style="font-size:11px;color:#5b6abf;margin-left:8px;background:#eef0ff;padding:1px 8px;border-radius:10px;">当前</span> </div> <div style="font-size:12px;color:#94a3b8;"> 2026-03-29 21:04 安全 安全 </div> </li> </ul> </div> </div> <div id="tab-security" class="detail-content"> <div class="detail-section"> <h2>安全检测</h2> <div class="sec-grid"> <div class="sec-card"> <h4>腾讯云安全 (Keen)</h4> <div class="sec-status sec-safe"> 安全,无风险 </div> <a href="https://tix.qq.com/search/skill?keyword=5f31b2f72e9106c288d56d0bcba31b54" target="_blank">查看报告</a> </div> <div class="sec-card"> <h4>腾讯云安全 (Sanbu)</h4> <div class="sec-status sec-safe"> 安全,无风险 </div> <a href="https://static.cloudsec.tencent.com/html-report-v2/2026/05/25/401469_ac009395a21ced3b5f3a7aa6fab71e5c.html?q-sign-algorithm=sha1&q-ak=AKID8JMG1bzBC1dz96qNhssfFftujT1NCoFi&q-sign-time=1781291321%3B1812827321&q-key-time=1781291321%3B1812827321&q-header-list=host&q-url-param-list=&q-signature=c12ba413dfad52d7a79b4fb872003882ebd16310" target="_blank">查看报告</a> </div> </div> </div> </div> <!-- Recommended Skills --> <div style="margin-top:24px;"> <h2 style="font-size:18px;font-weight:600;margin-bottom:16px;">🔗 相关推荐</h2> <div class="rec-grid"> <div class="rec-card"> <span class="badge-cat" style="margin-bottom:8px;display:inline-block;">content-creation</span> <h3><a href="/s/admapix">AdMapix</a></h3> <div class="rec-owner">fly0pants</div> <div class="rec-desc">广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。</div> <div class="rec-stats"> <span style="color:#f39c12;">★ 295</span> <span style="color:#5b6abf;">📥 136,444</span> </div> </div> <div class="rec-card"> <span class="badge-cat" style="margin-bottom:8px;display:inline-block;">content-creation</span> <h3><a href="/s/humanizer">Humanizer</a></h3> <div class="rec-owner">biostartechnology</div> <div class="rec-desc">消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。</div> <div class="rec-stats"> <span style="color:#f39c12;">★ 858</span> <span style="color:#5b6abf;">📥 199,498</span> </div> </div> <div class="rec-card"> <span class="badge-cat" style="margin-bottom:8px;display:inline-block;">content-creation</span> <h3><a href="/s/youtube-api-skill">YouTube</a></h3> <div class="rec-owner">byungkyu</div> <div class="rec-desc">使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。</div> <div class="rec-stats"> <span style="color:#f39c12;">★ 142</span> <span style="color:#5b6abf;">📥 41,038</span> </div> </div> </div> </div> </div> <script> document.addEventListener('DOMContentLoaded',function(){ document.querySelectorAll('.detail-tab').forEach(function(btn){ btn.addEventListener('click',function(e){ var tab = this.getAttribute('data-tab'); document.querySelectorAll('.detail-tab').forEach(function(b){b.classList.remove('active')}); document.querySelectorAll('.detail-content').forEach(function(c){c.classList.remove('active')}); this.classList.add('active'); var el = document.getElementById('tab-'+tab); if(el) el.classList.add('active'); }); }); }); </script> <div class="footer"> <p>Skill工具集 © 2026</p> </div></body> </html>