docs-acset
БесплатноБез исполняемых скриптовНе проверенGoogle Docs/Sheets management via ACSet condensation. Transforms documents into GF(3)-typed Interactions, tracks comments/cells, detects saturation when all…
от plurigrid★ 73 звезды на GitHubОб этом скилле
Docs ACSet Skill
Transform Google Docs/Sheets into an ACSet-condensed system with GF(3) conservation.
Trit: 0 (ERGODIC - coordinator)
Principle: Published Document = Condensed State
Implementation: DocsACSet + CommentTracker + CellSaturation
Overview
Docs ACSet applies category-theoretic structure to documents:
- Transform - Documents/Sheets → GF(3)-typed Interactions
- Track - Comments/Cells → Saturation state
- Detect - All resolved → ANIMA condensed state
- Verify - Narya proofs for consistency
DocsACSet Schema
┌────────────────────────────────────────────────────────────────────┐
│ DocsACSet Schema │
├────────────────────────────────────────────────────────────────────┤
│ │
│ Document ────────┬────▶ Section │
│ ├─ doc_id: String│ ├─ heading: String │
│ ├─ title: String │ ├─ level: Int │
│ └─ published: Bool └─ content_hash: String │
│ │ │
│ Comment ─────────┼────▶ Thread (doc) │
│ ├─ content: String ├─ resolved: Bool │
│ ├─ author: String └─ reply_count: Int │
│ └─ trit: Trit │ │
│ │ │
│ Spreadsheet ─────┼────▶ Sheet │
│ ├─ ss_id: String │ ├─ name: String │
│ └─ locale: String └─ row_count: Int │
│ │ │
│ Cell ────────────┴────▶ Range │
│ ├─ value: String ├─ a1_notation: String │
│ ├─ formula: String └─ dirty: Bool │
│ └─ trit: Trit │
└────────────────────────────────────────────────────────────────────┘
Objects
| Object | Description | Trit Role |
|---|---|---|
Document |
Google Doc with publish state | Aggregate |
Section |
Heading-delimited content block | Node |
Comment |
Review comment with resolution state | Interaction |
Spreadsheet |
Google Sheets workbook | Aggregate |
Sheet |
Individual tab within spreadsheet | Node |
Cell |
Single cell with value/formula | Data |
GF(3) Verb Typing
Docs/Sheets actions assigned trits based on information flow:
VERB_TRIT_MAP = {
# MINUS (-1): Consumption/Reading
"get_doc_content": -1, "read_sheet_values": -1,
"get_spreadsheet_info": -1, "inspect_doc_structure": -1,
"read_document_comments": -1, "debug_table_structure": -1,
# ERGODIC (0): Coordination/Metadata
"modify_doc_text": 0, "find_and_replace_doc": 0,
"update_doc_headers_footers": 0, "resolve_document_comment": 0,
"create_sheet": 0, "reply_to_document_comment": 0,
# PLUS (+1): Generation/Creation
"create_doc": +1, "create_spreadsheet": +1,
"insert_doc_elements": +1, "insert_doc_image": +1,
"create_table_with_data": +1, "modify_sheet_values": +1,
"create_document_comment": +1, "export_doc_to_pdf": +1,
}
MCP Tool → Trit Mapping
| Tool | Trit | Description |
|---|---|---|
get_doc_content |
-1 | Read document (MINUS) |
read_sheet_values |
-1 | Read cells (MINUS) |
read_document_comments |
-1 | Read comments (MINUS) |
modify_doc_text |
0 | Edit text (ERGODIC) |
resolve_document_comment |
0 | Resolve thread (ERGODIC) |
create_doc |
+1 | Create document (PLUS) |
create_spreadsheet |
+1 | Create workbook (PLUS) |
modify_sheet_values |
+1 | Write cells (PLUS) |
Doc-Thread Morphism
Documents and Gmail threads form a natural morphism:
┌─────────────────────────────────────────────────────────────────┐
│ Doc-Thread Morphism │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Document ◀─────────────▶ Thread │
│ ├─ doc_id ├─ thread_id │
│ ├─ published ├─ saturated │
│ └─ all_comments_resolved └─ needs_action │
│ │
│ Functorial mapping: │
│ F(doc) = thread where doc shares via gmail │
│ F(comment) = message in review workflow │
│ F(resolve) = archive/reply │
│
Установить docs-acset в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл docs-acset?
Google Docs/Sheets management via ACSet condensation. Transforms documents into GF(3)-typed Interactions, tracks comments/cells, detects saturation when all comments resolved. Use for document workflows, spreadsheet automation, or applying ANIMA principles to Workspace documents.
Как установить скилл docs-acset?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docs-acset запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic