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.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install aifs-space或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install aifs-space⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/aifs-space/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- 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. ---
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.
A human should sign up on https://AIFS.Space and get an API key to provide to you.
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
https://aifs.space
curl -H "Authorization: Bearer $AIFS_API_KEY" https://aifs.space/api/files
Returns: {"files": [{"path": "notes/todo.txt", "size": 1024, "modifiedAt": "..."}]}
# 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}
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}
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}
curl -X DELETE -H "Authorization: Bearer $AIFS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"path":"notes/old.txt"}' \
https://aifs.space/api/delete
Get first 500 chars of a file.
curl -H "Authorization: Bearer $AIFS_API_KEY" "https://aifs.space/api/summary?path=notes/long.txt"
60 requests/minute per key. Check headers:
X-RateLimit-Limit / X-RateLimit-Remaining / X-RateLimit-Reset| 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 |
# 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"
projects/
├── alpha/
│ ├── README.md
│ └── notes.md
└── beta/
└── spec.md
# 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安装 AIFS - HTTP File system 后,可以对 AI 说这些话来触发它
Help me get started with AIFS - HTTP File system
Explains what AIFS - HTTP File system does, walks through the setup, and runs a quick demo based on your current project
Use AIFS - HTTP File system to store and retrieve files via AIFS
Invokes AIFS - HTTP File system with the right parameters and returns the result directly in the conversation
What can I do with AIFS - HTTP File system in my documents & notes workflow?
Lists the top use cases for AIFS - HTTP File system, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/aifs-space/ 目录(个人级,所有项目可用),或 .claude/skills/aifs-space/(项目级)。重启 AI 客户端后,用 /aifs-space 主动调用,或让 AI 根据上下文自动发现并使用。
AIFS - HTTP File system 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
AIFS - HTTP File system 可免费安装使用。请查阅仓库了解许可证信息。
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.
AIFS - HTTP File system 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using AIFS - HTTP File system
Identifies repetitive steps in your workflow and sets up AIFS - HTTP File system to handle them automatically