Skill: rodrigo09313/obsidian-wiki-rodrigo (version 1.0.1)

--- name: obsidian-wiki description: "Work with Rodion's Obsidian vault via Nextcloud. Handle ingest/query/lint for Karpathy wiki pattern. Triggers: add to wiki, ingest, wiki, knowledge base" metadata: openclaw: os: ["linux"] requires: bins: ["docker"] config: ["nextcloud.path", "nextcloud.container"] --- # Obsidian Wiki ## Vault ``` /home/rodrigo/services/nextcloud/data/admin/files/Obsidian/ ``` ## Sync After Changes ```bash docker exec nextcloud php occ files:scan admin --path="/admin/files/Obsidian" -q ``` See [sync.md](references/sync.md) ## Wiki Structure See [wiki-structure.md](references/wiki-structure.md) ## Operations See [operations.md](references/operations.md) ## Quick Reference | Action | Command | |--------|---------| | Read file | `cat <path>` | | Create page | `write <path>` | | Sync | `docker exec nextcloud php occ files:scan...` | | List notes | `ls *.md` | ## Log Format ``` ## [YYYY-MM-DD] type | Description - Created: wiki/summaries/... ```

path: references/operations.md
content: # Wiki Operations

## Ingest (add source)

When Rodion says "add to wiki" or shares a link/article:

1. Read source
2. Create pages in `wiki/`:
   - `summaries/` — topic summary
   - `entities/` — people, companies
   - `concepts/` — ideas, terms
3. Update `index.md` (catalog)
4. Append to `log.md`:
   ```
   ## [YYYY-MM-DD] ingest | Source name
   - Created: wiki/summaries/..., wiki/entities/...
   ```
5. Run sync

## Query (ask about wiki)

When Rodion asks "what do I know about X":

1. Read `index.md`
2. Find relevant pages
3. Answer from wiki content
4. If answer is valuable — offer to save to wiki

## Lint (health check)

Periodic or on request:

- Find contradictions between pages
- Find orphan pages (no links)
- Suggest missing cross-references
- Update `log.md` with results


path: references/sync.md
content: # Nextcloud Sync

## Always Run After Changes

After creating/modifying files in Obsidian vault:

```bash
docker exec nextcloud php occ files:scan admin --path="/admin/files/Obsidian" -q
```

## Why This Is Needed

1. OpenClaw writes directly to filesystem
2. Nextcloud tracks files in database
3. `files:scan` syncs database with actual files
4. Nextcloud client on Windows sees changes

## Vault Path

```
/home/rodrigo/services/nextcloud/data/admin/files/Obsidian/
```


path: references/wiki-structure.md
content: # Wiki Structure

```
База знаний/
├── raw/                 # Sources — NEVER modify
├── wiki/
│   ├── entities/       # People, companies, projects
│   ├── concepts/       # Ideas, terms, methods
│   └── summaries/      # Topic summaries
├── index.md            # Catalog
├── log.md              # Chronology
└── AGENTS.md          # AI instructions
```

## Raw vs Wiki

- **raw/** — immutable sources (articles, books, notes)
- **wiki/** — AI-generated pages (my territory)

## Key Pages

| File | Purpose |
|------|---------|
| `index.md` | Catalog of all wiki pages |
| `log.md` | Operation log (ingest/query/lint) |
| `AGENTS.md` | Instructions for AI |


Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (MEDIUM)