drive-acset
БесплатноБез исполняемых скриптовНе проверенGoogle Drive management via DriveACSet schema with GF(3) triadic routing. Transforms files/folders into typed Interactions, routes to queue fibers, detects…
от plurigrid★ 73 звезды на GitHubОб этом скилле
Drive ACSet Skill
Transform Google Drive into a GF(3)-conserving algebraic database system.
Trit: 0 (ERGODIC - coordinator)
Principle: Organized Drive = Condensed State
Implementation: DriveACSet + TriadicQueues + SaturationDetector
DriveACSet Schema
┌────────────────────────────────────────────────────────────────────┐
│ DriveACSet Schema │
├────────────────────────────────────────────────────────────────────┤
│ │
│ File ──────────┬────▶ Folder │
│ ├─ file_id │ ├─ folder_id: String │
│ ├─ name │ ├─ name: String │
│ ├─ mime_type │ └─ parent ─────────▶ Folder (self-ref) │
│ ├─ size │ │
│ └─ parent ─────┘ │
│ │
│ Permission ────┬────▶ File | Folder │
│ ├─ role │ ├─ reader | commenter | writer | owner │
│ └─ share_with ─┼──▶ └─ email | domain | anyone │
│ │ │
│ Revision ──────┼────▶ File │
│ ├─ rev_id │ ├─ modified_time │
│ └─ modified_by ┘ └─ keep_forever: Bool │
│ │
│ QueueItem ─────┼────▶ Agent3 │
│ ├─ interaction │ ├─ fiber: Trit {-1, 0, +1} │
│ └─ agent ──────┘ └─ name: String │
└────────────────────────────────────────────────────────────────────┘
Objects
| Object | Description | Trit Role |
|---|---|---|
File |
Drive file with metadata | Data |
Folder |
Hierarchical container | Aggregate |
Permission |
ACL entry for sharing | Edge |
Revision |
File version history | Temporal |
Agent3 |
Queue fiber (MINUS/ERGODIC/PLUS) | Router |
QueueItem |
Links Interaction → Agent3 | Edge |
GF(3) Verb Typing
Drive operations assigned trits by information flow:
VERB_TRIT_MAP = {
# MINUS (-1): Read/Validate
"get": -1, "search": -1, "list": -1,
"download": -1, "get_content": -1,
# ERGODIC (0): Coordinate/Permissions
"share": 0, "permissions": 0, "move": 0,
"rename": 0, "update_metadata": 0,
# PLUS (+1): Create/Execute
"create": +1, "upload": +1, "copy": +1,
"export": +1, "transfer_ownership": +1,
}
MCP Tool → Trit Mapping
| Tool | Trit | Description |
|---|---|---|
search_drive_files |
-1 | Search files (MINUS) |
get_drive_file_content |
-1 | Read file (MINUS) |
list_drive_items |
-1 | List folder (MINUS) |
get_drive_file_permissions |
-1 | Check perms (MINUS) |
share_drive_file |
0 | Share file (ERGODIC) |
update_drive_permission |
0 | Modify perms (ERGODIC) |
update_drive_file |
0 | Update metadata (ERGODIC) |
create_drive_file |
+1 | Create file (PLUS) |
transfer_drive_ownership |
+1 | Transfer owner (PLUS) |
Triadic Queue Routing
┌─────────────────────────────────────────┐
│ DRIVE TRIADIC QUEUES │
├─────────────────────────────────────────┤
│ │
DriveAction ────▶│ route(trit) ───▶ Agent3 Fiber │
│ │
│ MINUS (-1) ────▶ [get, search, list] │
│ ERGODIC (0) ────▶ [share, permissions] │
│ PLUS (+1) ────▶ [create, upload] │
│ │
└─────────────────────────────────────────┘
Saturation Detection
def is_drive_saturated(folder_id: str) -> bool:
"""Folder saturated when:
1. All files have stable permissions
2. No pending changes in window N
3. GF(3) cycle closure: sum(trits) ≡ 0 (mod 3)
"""
history = detector.history[folder_id][-N:]
cycle_sum = sum(t for t in folder.gf3_cycle[-3:])
return (
all(s == history[0] for s in history) and
(cycle_sum % 3) == 0
)
def detect_organized_state() -> Dict:
"""Drive at condensed state when:
1. All folders saturated
2. Permission graph stable
3. GF(3) conserved globally
"""
return {
"organized": all_saturated and gf3_conserved,
"condensed_fingerprint": sha256(sorted_file_tree),
}
Source Files
| File | Description | Trit |
|---|---|---|
| [drive_acset.py](file:/// |
Установить drive-acset в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл drive-acset?
Google Drive management via DriveACSet schema with GF(3) triadic routing. Transforms files/folders into typed Interactions, routes to queue fibers, detects saturation for organized-drive-as-condensed-state.
Как установить скилл drive-acset?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл drive-acset запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic