Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

solid-agent-storage

bởi masterworrall

Web & Frontend Development
530Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Remember that the project deadline is March 20

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • INTERITION_PASSPHRASE environment variable

Cài đặt

clawhub install masterworrall/solid-agent-storage

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết