aifs
Store and retrieve files via AIFS.space cloud storage API. Use when persisting notes, documents, or data to the cloud; syncing files across sessions; or when the user mentions AIFS, aifs.space, or cloud file storage. Not to be used for any sensitive content.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- aifs
- description
- Store and retrieve files via AIFS.space cloud storage API. Use when persisting notes, documents, or data to the cloud; syncing files across sessions; or when the user mentions AIFS, aifs.space, or cloud file storage. Not to be used for any sensitive content.
03 SKILL.md 正文
AIFS - AI File System
AIFS.space is a simple HTTP REST API for cloud file storage. Use it to persist files across sessions, share data between agents, or store user content in the cloud.
Human
A human should sign up on https://AIFS.Space and get an API key to provide to you.
Authentication
Requires API key in headers. Check for key in environment (AIFS_API_KEY) or user config.
Authorization: Bearer aifs_xxxxx
Key types: admin (full), read-write, read-only, write-only
Base URL
https://aifs.space
Endpoints
List Files
curl -H "Authorization: Bearer $AIFS_API_KEY" https://aifs.space/api/files
Returns: {"files": [{"path": "notes/todo.txt", "size": 1024, "modifiedAt": "..."}]}
Read File
# Full file
curl -H "Authorization: Bearer $AIFS_API_KEY" "https://aifs.space/api/read?path=notes/todo.txt"
# Line range (1-indexed)
curl -H "Authorization: Bearer $AIFS_API_KEY" "https://aifs.space/api/read?path=notes/todo.txt&start_line=5&end_line=10"
Returns: {"path": "...", "content": "...", "total_lines": 42, "returned_lines": 10}
Write File
Creates directories automatically (max depth: 20).
curl -X POST -H "Authorization: Bearer $AIFS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"path":"notes/new.txt","content":"Hello world"}' \
https://aifs.space/api/write
Returns: {"success": true, "path": "...", "size": 11, "lines": 1}
Patch File (Line Replace)
Update specific lines without rewriting entire file.
curl -X PATCH -H "Authorization: Bearer $AIFS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"path":"notes/todo.txt","start_line":5,"end_line":10,"content":"replacement"}' \
https://aifs.space/api/patch
Returns: {"success": true, "lines_before": 42, "lines_after": 38}
Delete File
curl -X DELETE -H "Authorization: Bearer $AIFS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"path":"notes/old.txt"}' \
https://aifs.space/api/delete
Summary (Preview)
Get first 500 chars of a file.
curl -H "Authorization: Bearer $AIFS_API_KEY" "https://aifs.space/api/summary?path=notes/long.txt"
Rate Limits
60 requests/minute per key. Check headers:
X-RateLimit-Limit/X-RateLimit-Remaining/X-RateLimit-Reset
Error Codes
| Code | Meaning |
|---|---|
| AUTH_REQUIRED | No auth provided |
| AUTH_FAILED | Invalid key |
| FORBIDDEN | Key type lacks permission |
| RATE_LIMITED | Too many requests |
| NOT_FOUND | File doesn't exist |
| INVALID_PATH | Path traversal or invalid |
| DEPTH_EXCEEDED | Directory depth > 20 |
Common Patterns
Persist session notes
# Save
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d "{\"path\":\"sessions/$(date +%Y-%m-%d).md\",\"content\":\"# Session Notes\\n...\"}" \
https://aifs.space/api/write
# Retrieve
curl -H "Authorization: Bearer $KEY" "https://aifs.space/api/read?path=sessions/2024-01-15.md"
Organize by project
projects/
├── alpha/
│ ├── README.md
│ └── notes.md
└── beta/
└── spec.md
Append to log (read + write)
# Read existing
EXISTING=$(curl -s -H "Authorization: Bearer $KEY" "https://aifs.space/api/read?path=log.txt" | jq -r .content)
# Append and write back
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d "{\"path\":\"log.txt\",\"content\":\"$EXISTING\\n$(date): New entry\"}" \
https://aifs.space/api/write
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.