跳到正文
TakoAPI
返回技能列表

solid-agent-storage

由 masterworrall 提供

Web & Frontend Development
530下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Give your AI agent persistent identity (WebID) and personal data storage (Pod) using the Solid Protocol.

描述

该技能的功能

Gives an AI agent a persistent WebID and personal data store (Pod) on a Solid server. The agent reads, writes, and deletes data across sessions using standard HTTP requests with Bearer tokens. Credentials are encrypted locally; access control is enforced server-side per the W3C Solid Protocol.

Uses the open W3C Solid Protocol, so the agent's storage works with any compliant server rather than a proprietary API.

何时使用

  • Persisting notes and learned facts between agent sessions
  • Sharing structured RDF data with another agent on the same Solid server
  • Giving an agent a verifiable web identity for inter-agent authentication
  • Storing user preferences that survive conversation resets
  • Logging conversation history to a private Pod container

示例工作流

输入

User asks: Remember that the project deadline is March 20

智能体
  1. 1

    Run scripts/get-token.sh --agent my-agent to obtain a Bearer token and Pod URL

  2. 2

    Extract token and podUrl from the JSON response using jq

  3. 3

    Format the deadline as a Turtle RDF note with schema:text and schema:dateCreated fields

  4. 4

    Send a PUT request to ${POD_URL}memory/notes.ttl with Authorization: Bearer $TOKEN header

  5. 5

    Confirm a 201 or 204 response indicating the write succeeded

输出

Deadline stored at the agent's Pod under memory/notes.ttl, readable in future sessions

前置要求

  • INTERITION_PASSPHRASE environment variable

安装

clawhub install masterworrall/solid-agent-storage

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接