aifs-spaceStore 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.
Install via ClawdBot CLI:
clawdbot install Deploydon/aifs-spaceAIFS.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
Generated Mar 1, 2026
AI assistants can store conversation summaries, user preferences, or task logs across sessions to maintain continuity. This enables personalized interactions and avoids redundant data entry, improving user experience and agent efficiency.
Development teams can use AIFS to share configuration files, code snippets, or project documentation between different AI agents or tools. This facilitates collaboration, ensures consistency, and reduces manual file transfers in DevOps workflows.
Educational platforms can store and retrieve lesson plans, student notes, or assignment templates in the cloud. Teachers and students can access updated materials across devices, supporting remote learning and organized curriculum management.
IoT devices can write operational logs or sensor data to AIFS for centralized monitoring. This allows for easy retrieval and analysis of historical data, aiding in maintenance, troubleshooting, and performance optimization.
Marketing teams can store draft copies, campaign briefs, or analytics reports in AIFS for team access. This streamlines content creation, version control, and sharing across departments, enhancing campaign coordination.
Offer a free tier with limited storage and requests to attract individual users or small projects, then charge for higher limits, advanced features like versioning, or priority support. This model encourages adoption and scales with user needs.
License the AIFS API to enterprises for internal use, such as integrating with their existing AI tools or workflows. Provide custom SLAs, dedicated support, and enhanced security features to meet corporate requirements.
Partner with AI platform providers or developer tools to bundle AIFS as a built-in storage solution. Earn revenue through referral fees, revenue sharing, or white-labeling the service under their brand.
š¬ Integration Tip
Ensure the API key is securely stored in environment variables and implement error handling for rate limits and authentication failures to maintain reliability.
Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
Perform advanced filesystem tasks including listing, recursive searching by name or content, batch copying/moving/deleting files, and analyzing directory siz...
Essential SSH commands for secure remote access, key management, tunneling, and file transfers.
Extract text from PDF files for LLM processing
The directory for AI agent services. Discover tools, platforms, and infrastructure built for agents.
Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot