Deploydon

AIFS - HTTP File system

AI 智能体v1.0.0
作者:Deploydon更新于 2026-05-11aifs-space@clawhub_deploydon/aifs-space
上下文管理工具调用

据 AlphaMoat 统计,截至 2026-09,AIFS - HTTP File system 累计下载 4,253 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 2,335 位,在「AI 智能体」分类(969 个)中排名第 454 位。

累计安装
496
累计下载
4,253
星标
2
全站排名
#2,335
全站前 46% · 「AI 智能体」前 47%
平台累计安装累计下载星标评论
ClawHub ↗1364,0942-
SkillHub ↗4964,2532—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

文档提供云端文件的列举、读取、写入、按行修改和删除操作,也可读取指定行范围。使用时需要具备适当权限的 API 密钥,可从 AIFS_API_KEY 或用户配置提供;适合跨会话保存与共享,明确不用于敏感内容。 此流程使用远程服务或共享工作区;发送私密内容前确认访问范围和数据保留方式。

资料发布于 2026-10-27

可以用来做什么

  • 跨会话保留不含敏感内容的项目笔记

什么时候用

  • 用户要求使用 AIFS 云存储或文件同步时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

把这份非敏感项目笔记存到 AIFS,并给出后续读取所用的路径。

月度数据趋势

累计下载4,253
3,2833,8044,3252026-03 · 累计下载 3,3552026-05 · 累计下载 3,6152026-06 · 累计下载 3,5782026-07 · 累计下载 3,8112026-08 · 累计下载 3,9612026-09 · 累计下载 4,25326-0326-09
星标2
1232026-03 · 星标 22026-05 · 星标 22026-06 · 星标 22026-07 · 星标 22026-08 · 星标 22026-09 · 星标 226-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,253—2
2026-083,961+3.9%2
2026-073,811+6.5%2
2026-063,578-1.0%2
2026-053,615—2
2026-033,355—2

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.9 KB · ClawHub v1.0.0
---
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 - 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
展开全部(共 149 行)

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.

```bash
Authorization: Bearer aifs_xxxxx
```

**Key types:** `admin` (full), `read-write`, `read-only`, `write-only`

## Base URL

```
https://aifs.space
```

## Endpoints

### List Files

```bash
curl -H "Authorization: Bearer $AIFS_API_KEY" https://aifs.space/api/files
```

Returns: `{"files": [{"path": "notes/todo.txt", "size": 1024, "modifiedAt": "..."}]}`

### Read File

```bash
# 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).

```bash
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.

```bash
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

```bash
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.

```bash
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

```bash
# 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)

```bash
# 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
```

「AI 智能体」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。