← 返回 Skills 市场
Identity Files (
Links Folder Policy (
91
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install context-sync
功能描述
Use this skill when the user wants to upload files to Pulse, sync context, add knowledge to their agent, update what their agent knows, push local files to P...
使用说明 (SKILL.md)
Context Sync
You help users sync local files, notes, and context into Pulse so their shared agent has the right knowledge to represent them.
Prerequisites
PULSE_API_KEYenvironment variable must be set- Base URL:
https://www.aicoo.io/api/v1
API Model
- Use
/api/v1/os/*for workspace-native operations (notes/folders/snapshots/memory/todos/network/share) - Use
/api/v1/toolsonly for non-OS tools (calendar/email/web/messaging/quality/MCP)
Core Workflow
Step 1: Check current state
curl -s -H "Authorization: Bearer $PULSE_API_KEY" \
"https://www.aicoo.io/api/v1/os/status" | jq .
Step 2: Browse workspace
# folders
curl -s -H "Authorization: Bearer $PULSE_API_KEY" \
"https://www.aicoo.io/api/v1/os/folders" | jq .
# notes in folder
curl -s -H "Authorization: Bearer $PULSE_API_KEY" \
"https://www.aicoo.io/api/v1/os/notes?folderId=5&limit=20" | jq .
# note content
curl -s -H "Authorization: Bearer $PULSE_API_KEY" \
"https://www.aicoo.io/api/v1/os/notes/42" | jq .
Step 3: Search existing notes first
curl -s -X POST "https://www.aicoo.io/api/v1/os/notes/search" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"project roadmap"}' | jq .
# deterministic grep (regex/literal + context lines)
curl -s -X POST "https://www.aicoo.io/api/v1/os/notes/grep" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"pattern":"roadmap|timeline","mode":"regex","caseSensitive":false,"contextBefore":3,"contextAfter":3}' | jq .
Step 4: Create or update notes
# create
curl -s -X POST "https://www.aicoo.io/api/v1/os/notes" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Project Roadmap Q2","content":"# Q2 Roadmap\
\
## Goals\
- Launch v2 API"}' | jq .
# snapshot before edit
curl -s -X POST "https://www.aicoo.io/api/v1/os/snapshots/42" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"Pre-edit"}' | jq .
# edit
curl -s -X PATCH "https://www.aicoo.io/api/v1/os/notes/42" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"content":"# Updated Roadmap\
\
..."}' | jq .
# move (mv)
curl -s -X POST "https://www.aicoo.io/api/v1/os/notes/42/move" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"folderName":"Technical"}' | jq .
# copy (cp)
curl -s -X POST "https://www.aicoo.io/api/v1/os/notes/42/copy" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"folderName":"Archive"}' | jq .
Step 5: Bulk file sync
curl -s -X POST "https://www.aicoo.io/api/v1/accumulate" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"files": [
{"path":"Technical/architecture.md","content":"# Architecture\
\
..."},
{"path":"General/team-info.md","content":"# Team\
\
..."}
]
}' | jq .
Step 6: Manage folders
# list
curl -s -H "Authorization: Bearer $PULSE_API_KEY" \
"https://www.aicoo.io/api/v1/os/folders" | jq .
# create
curl -s -X POST "https://www.aicoo.io/api/v1/os/folders" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Investor Materials"}' | jq .
Step 7: Delete files
curl -s -X POST "https://www.aicoo.io/api/v1/accumulate" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"delete":[{"path":"Technical/old-doc.md"}]}' | jq .
Identity Files (memory/self/)
Use /accumulate to manage:
memory/self/COO.mdmemory/self/USER.mdmemory/self/POLICY.md
Links Folder Policy (links/)
To customize per-link behavior, edit link notes in links/:
# find link note
curl -s -X POST "https://www.aicoo.io/api/v1/os/notes/search" \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"For-Investors"}' | jq .
Then patch that note via PATCH /api/v1/os/notes/{id}.
When to Use What
| Scenario | Endpoint |
|---|---|
| Browse folders | GET /os/folders |
| List notes in folder | GET /os/notes?folderId=... |
| Search notes | POST /os/notes/search |
| Grep notes (exact/regex + context) | POST /os/notes/grep |
| Read note | GET /os/notes/{id} |
| Create note | POST /os/notes |
| Edit note | PATCH /os/notes/{id} |
| Move note | POST /os/notes/{id}/move |
| Copy note | POST /os/notes/{id}/copy |
| Snapshot save/list/restore | /os/snapshots/{noteId} + /restore |
| Bulk upload/delete | POST /accumulate |
Best Practices
- Search before creating to avoid duplicates.
- Snapshot before major edits.
- Use
/accumulatefor multi-file sync. - Keep identity and link policy files up to date.
安全使用建议
This skill will read local files and upload them to https://www.aicoo.io using an Authorization: Bearer <PULSE_API_KEY>. Before installing: (1) confirm the registry metadata is updated to declare PULSE_API_KEY and review who operates the skill and the aicoo.io service (no homepage/source is provided); (2) only use a credential with the minimum scope and be ready to rotate/revoke it if needed; (3) avoid syncing sensitive files (secrets, private keys, PII) until you trust the endpoint and owner; (4) test with a small non-sensitive folder to validate behavior; and (5) ask the publisher for a homepage, source code, and clarification about retention/privacy of uploaded content. The main concrete mismatch is the missing required env var in the registry manifest — that should be corrected before wider use.
功能分析
Type: OpenClaw Skill
Name: context-sync
Version: 1.0.0
The context-sync skill is a legitimate tool designed to synchronize local files and notes with the Pulse platform (aicoo.io). The skill's instructions in SKILL.md and the API reference in reference/API.md clearly outline its functionality, which includes managing folders, searching notes, and performing bulk uploads via the /accumulate endpoint. While the skill involves uploading local data to a remote server, this behavior is transparently documented and aligned with its stated purpose of providing context to a shared agent. No indicators of malicious intent, such as unauthorized data theft, backdoors, or obfuscation, were found.
能力标签
能力评估
Purpose & Capability
The SKILL.md describes a file-sync/upload capability to Pulse and the included examples and API reference match that purpose. However the package/registry metadata lists no required environment variables or primary credential while the runtime instructions explicitly require PULSE_API_KEY and a base URL (https://www.aicoo.io). The missing declaration in registry metadata is an incoherence — the skill will need a credential but the registry doesn't advertise it.
Instruction Scope
The instructions explicitly tell the agent to read local directories and file contents and to upload them (POST /accumulate), and show example flows that scan ./docs and upload all files. That behavior is consistent with the skill's purpose. However it is broad in scope (bulk scanning & upload, identity files under memory/self/, link policy editing) and will transmit local content to an external endpoint, so users must be aware of potential sensitive-data exposure.
Install Mechanism
This is an instruction-only skill with no install spec or code files, so it does not write code to disk or pull external binaries. From an install-mechanism perspective it's low risk, but runtime behavior (network uploads) remains a concern.
Credentials
The SKILL.md requires a PULSE_API_KEY Authorization header to call the aicoo.io API — that is proportionate to a service that uploads context. The concern is that the registry metadata did not declare any required env vars or primary credential, so the skill's required credential is not reflected in the manifest. Also the skill invites managing identity files (memory/self/*) which could result in uploading sensitive identity/policy documents; users should confirm the key's scope and trustworthiness of the endpoint.
Persistence & Privilege
always is false, there is no install step, and the skill does not request persistent platform-level privileges. Autonomous invocation is allowed (default) but not sufficient alone to upgrade risk; combined with the upload behavior and missing manifest declarations this increases the need for caution but does not itself indicate elevated privilege requirements.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install context-sync - 安装完成后,直接呼叫该 Skill 的名称或使用
/context-sync触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the context-sync skill for Pulse.
- Enables syncing local files, notes, and context to Pulse for agent knowledge management.
- Supports browsing folders, searching and editing notes, and managing knowledge through a defined API workflow.
- Provides bulk file upload/deletion using the `/accumulate` endpoint.
- Includes guidelines for handling identity files and per-link folder policy.
- Emphasizes best practices such as searching before creating and snapshotting before major edits.
元数据
常见问题
Context Sync 是什么?
Use this skill when the user wants to upload files to Pulse, sync context, add knowledge to their agent, update what their agent knows, push local files to P... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 91 次。
如何安装 Context Sync?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install context-sync」即可一键安装,无需额外配置。
Context Sync 是免费的吗?
是的,Context Sync 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Context Sync 支持哪些平台?
Context Sync 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Context Sync?
由 Awassi(@xisen-w)开发并维护,当前版本 v1.0.0。
推荐 Skills