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

auto-drive

bởi emilfattakhov

Search & Research
461Lượt tải do clawskills.sh công bố
1Sao
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

Upload and download files to Autonomys Network permanent decentralized storage via Auto-Drive.

Mô tả

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

Stores agent memories as a permanent linked list on the Autonomys decentralized storage network. Each entry gets a CID and points to the previous one, forming a chain. A new agent instance can reconstruct its full history from a single head CID.

Unlike local files or cloud storage, the memory chain survives total environment loss and is recoverable on any machine from a single CID with no credentials beyond the API key.

Khi nào nên dùng

  • Saving an agent decision before ending a session
  • Checkpointing a long research or coding session
  • Uploading a project file to immutable decentralized storage
  • Rebuilding agent identity after total local state loss
  • Sharing a permanent, content-addressed file snapshot via CID

Quy trình ví dụ

ĐẦU VÀO

User asks: Save a memory that we decided to use TypeScript for this project

AGENT
  1. 1

    Wraps the decision text as a JSON memory payload with type and content fields

  2. 2

    Reads the previous head CID from the local state file

  3. 3

    Runs autodrive-save-memory.sh with the payload and agent name

  4. 4

    Uploads the new entry to Auto Drive, receiving a new CID

  5. 5

    Updates the state file and pins the new head CID to MEMORY.md

ĐẦU RA

Returns the new CID, previous CID, and current chain length (e.g. {"cid": "bafk...xyz", "previousCid": "bafk...def", "chainLength": 6})

Yêu cầu

  • AUTO_DRIVE_API_KEY environment variable (generated at explorer.ai3.storage under Developers after signing in via Google, GitHub, or Discord)

Cài đặt

clawhub install emilfattakhov/auto-drive

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