skillwiki 0.10.67 → 0.10.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.10.67",
3
+ "version": "0.10.68",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "skillwiki": "dist/cli.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.10.67",
3
+ "version": "0.10.68",
4
4
  "skills": "./",
5
5
  "description": "Project-aware Karpathy-style knowledge base for Claude Code: 20 prompt-only skills (wiki-*, proj-*, using-skillwiki) backed by the deterministic `skillwiki` CLI.",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.10.67",
3
+ "version": "0.10.68",
4
4
  "description": "Project-aware Karpathy-style knowledge base for Codex with 20 prompt-only skills backed by the deterministic skillwiki CLI.",
5
5
  "author": {
6
6
  "name": "karlorz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillwiki/skills",
3
- "version": "0.10.67",
3
+ "version": "0.10.68",
4
4
  "private": true,
5
5
  "files": [
6
6
  "wiki-*",
@@ -76,7 +76,7 @@ raw/
76
76
  ├── archived/{articles,papers,transcripts}/
77
77
  └── duplicates/{articles,papers,transcripts}/
78
78
  ```
79
- Use explicit vault-root asset embeds such as `![[raw/assets/example/diagram.png]]`. Agents may choose flat or URL-friendly nested paths. Once an immutable capture references an asset, that path freezes; routine source archive/dedup never moves the asset. Remote images remain external dependencies unless separately captured.
79
+ Use explicit vault-root asset embeds such as `![[raw/assets/example/diagram.png]]`. Agents may choose flat or URL-friendly nested paths. Once an immutable capture references an asset, that path freezes; routine source archive/dedup never moves the asset. Remote images remain external dependencies unless separately captured. When storing binaries under `raw/assets/`, also write a sibling Markdown note (`listings.md`, `note.md`, or a dated `.md`) that embeds each file. Never use `.txt` as the only index; Obsidian opens Markdown notes.
80
80
  Raw frontmatter:
81
81
  ```yaml
82
82
  ---
@@ -10,7 +10,7 @@ Capture ad-hoc ideas, bugs, tasks, and notes into the vault. Three entry points
10
10
  | Filesystem drop | Hermes Agent compact mode (no slash commands available) | Same as above — create `.md` in `raw/transcripts/`, dev-loop discovers it |
11
11
  | Filesystem drop | You're NOT in a Claude session (Obsidian, editor, sync) | Create a new `.md` file in `raw/transcripts/` using the vault template — dev-loop discovers it on next cycle |
12
12
  | Dev-loop discovery | Automatic, next cycle | Scans `raw/transcripts/` for new files since last cycle, surfaces as claimable work |
13
- **Path Rule:** Captures ALWAYS go to `$(skillwiki path)/raw/transcripts/` (Layer 1). Never under `projects/{slug}/raw/` — that violates SCHEMA.md Layer 1 immutability.
13
+ **Path Rule:** Captures ALWAYS go to `$(skillwiki path)/raw/transcripts/` (Layer 1). Never under `projects/{slug}/raw/` — that violates SCHEMA.md Layer 1 immutability. Text captures stay in `raw/transcripts/`. If the capture includes images or other binaries, store those files under `raw/assets/` with a sibling Markdown note that embeds them; never use a .txt sidecar (such as `README.txt`) as the only index; Obsidian opens Markdown notes.
14
14
  ### Exception: Explicit project task requests
15
15
  When the user explicitly says "raise task to project X", "add a task for X", "create a feature request for X", or uses a directive structure like "raise task to {project} {description}", the intent is a **work item**, not a capture:
16
16
  | User wording | Action | Target |
@@ -92,6 +92,7 @@ Ad-hoc captures may omit `sha256`; omission does not grant mutation authority. O
92
92
  - Creating a work item — this is capture-only. Use `proj-work` for full work items.
93
93
  - Writing to any Layer 2 or Layer 3 location. Captures are Layer 1 (raw).
94
94
  - Writing live credentials, access keys, tokens, passwords, cookies, bearer headers, private keys, or other authenticating secrets to the vault.
95
+ - Indexing `raw/assets/` binaries with only a `.txt` sidecar.
95
96
  ## Filesystem drop (offline capture)
96
97
  When you're not in a Claude session, drop files directly into `raw/transcripts/`:
97
98
  1. Create a `.md` file in `raw/transcripts/` — name it descriptively (e.g., `2026-05-08-idea-fix-template.md`)
@@ -65,6 +65,7 @@ Raw ephemeral data (market feeds, logs, transient JSON) must be written to the *
65
65
  - Writing raw ephemeral data directly to cloud-mounted wiki paths (`~/wiki/`).
66
66
  - Writing host-local absolute paths as canonical durable source references (see `using-skillwiki` → Portable Source References).
67
67
  - Writing `[[wikilinks]]` to pages that don't exist in the vault. Before linking, verify the target exists: check `index.md` or `ls` the target directory. If the target doesn't exist yet, use plain text instead of a wikilink.
68
+ - Indexing `raw/assets/` binaries with only a `.txt` sidecar. Write a sibling Markdown note that embeds each file with `![[ ]]`.
68
69
  ## Batch Mode
69
70
  When the user provides multiple sources (a directory of files, a list of URLs, or a multi-document input):
70
71
  1. **Loop per source.** Execute steps 1–8 for each source individually, using one `skillwiki ingest` command per source.
@@ -37,7 +37,9 @@ None for the first run.
37
37
  images remain external dependencies. An attended local-asset capture may
38
38
  choose any URL-friendly path under `raw/assets/`, but it must write the asset,
39
39
  emit an explicit vault-qualified `![[raw/assets/...]]` embed, verify
40
- resolution/preview, and only then finalize the immutable raw note.
40
+ resolution/preview, and only then finalize the immutable raw note. Also write
41
+ a sibling Markdown note (`listings.md`, `note.md`, or a dated `.md`) that
42
+ embeds each file. Never use `.txt` as the only index.
41
43
  8. **Suggest first sources.** Propose 3–5 initial sources (URLs, papers, articles) appropriate to the domain. Prompt the user to provide the first one to ingest, then hand off to wiki-ingest.
42
44
 
43
45
  ## Stop conditions
@@ -76,7 +76,7 @@ raw/
76
76
  ├── archived/{articles,papers,transcripts}/
77
77
  └── duplicates/{articles,papers,transcripts}/
78
78
  ```
79
- Use explicit vault-root asset embeds such as `![[raw/assets/example/diagram.png]]`. Agents may choose flat or URL-friendly nested paths. Once an immutable capture references an asset, that path freezes; routine source archive/dedup never moves the asset. Remote images remain external dependencies unless separately captured.
79
+ Use explicit vault-root asset embeds such as `![[raw/assets/example/diagram.png]]`. Agents may choose flat or URL-friendly nested paths. Once an immutable capture references an asset, that path freezes; routine source archive/dedup never moves the asset. Remote images remain external dependencies unless separately captured. When storing binaries under `raw/assets/`, also write a sibling Markdown note (`listings.md`, `note.md`, or a dated `.md`) that embeds each file. Never use `.txt` as the only index; Obsidian opens Markdown notes.
80
80
  Raw frontmatter:
81
81
  ```yaml
82
82
  ---
@@ -10,7 +10,7 @@ Capture ad-hoc ideas, bugs, tasks, and notes into the vault. Three entry points
10
10
  | Filesystem drop | Hermes Agent compact mode (no slash commands available) | Same as above — create `.md` in `raw/transcripts/`, dev-loop discovers it |
11
11
  | Filesystem drop | You're NOT in a Claude session (Obsidian, editor, sync) | Create a new `.md` file in `raw/transcripts/` using the vault template — dev-loop discovers it on next cycle |
12
12
  | Dev-loop discovery | Automatic, next cycle | Scans `raw/transcripts/` for new files since last cycle, surfaces as claimable work |
13
- **Path Rule:** Captures ALWAYS go to `$(skillwiki path)/raw/transcripts/` (Layer 1). Never under `projects/{slug}/raw/` — that violates SCHEMA.md Layer 1 immutability.
13
+ **Path Rule:** Captures ALWAYS go to `$(skillwiki path)/raw/transcripts/` (Layer 1). Never under `projects/{slug}/raw/` — that violates SCHEMA.md Layer 1 immutability. Text captures stay in `raw/transcripts/`. If the capture includes images or other binaries, store those files under `raw/assets/` with a sibling Markdown note that embeds them; never use a .txt sidecar (such as `README.txt`) as the only index; Obsidian opens Markdown notes.
14
14
  ### Exception: Explicit project task requests
15
15
  When the user explicitly says "raise task to project X", "add a task for X", "create a feature request for X", or uses a directive structure like "raise task to {project} {description}", the intent is a **work item**, not a capture:
16
16
  | User wording | Action | Target |
@@ -92,6 +92,7 @@ Ad-hoc captures may omit `sha256`; omission does not grant mutation authority. O
92
92
  - Creating a work item — this is capture-only. Use `proj-work` for full work items.
93
93
  - Writing to any Layer 2 or Layer 3 location. Captures are Layer 1 (raw).
94
94
  - Writing live credentials, access keys, tokens, passwords, cookies, bearer headers, private keys, or other authenticating secrets to the vault.
95
+ - Indexing `raw/assets/` binaries with only a `.txt` sidecar.
95
96
  ## Filesystem drop (offline capture)
96
97
  When you're not in a Claude session, drop files directly into `raw/transcripts/`:
97
98
  1. Create a `.md` file in `raw/transcripts/` — name it descriptively (e.g., `2026-05-08-idea-fix-template.md`)
@@ -65,6 +65,7 @@ Raw ephemeral data (market feeds, logs, transient JSON) must be written to the *
65
65
  - Writing raw ephemeral data directly to cloud-mounted wiki paths (`~/wiki/`).
66
66
  - Writing host-local absolute paths as canonical durable source references (see `using-skillwiki` → Portable Source References).
67
67
  - Writing `[[wikilinks]]` to pages that don't exist in the vault. Before linking, verify the target exists: check `index.md` or `ls` the target directory. If the target doesn't exist yet, use plain text instead of a wikilink.
68
+ - Indexing `raw/assets/` binaries with only a `.txt` sidecar. Write a sibling Markdown note that embeds each file with `![[ ]]`.
68
69
  ## Batch Mode
69
70
  When the user provides multiple sources (a directory of files, a list of URLs, or a multi-document input):
70
71
  1. **Loop per source.** Execute steps 1–8 for each source individually, using one `skillwiki ingest` command per source.
@@ -37,7 +37,9 @@ None for the first run.
37
37
  images remain external dependencies. An attended local-asset capture may
38
38
  choose any URL-friendly path under `raw/assets/`, but it must write the asset,
39
39
  emit an explicit vault-qualified `![[raw/assets/...]]` embed, verify
40
- resolution/preview, and only then finalize the immutable raw note.
40
+ resolution/preview, and only then finalize the immutable raw note. Also write
41
+ a sibling Markdown note (`listings.md`, `note.md`, or a dated `.md`) that
42
+ embeds each file. Never use `.txt` as the only index.
41
43
  8. **Suggest first sources.** Propose 3–5 initial sources (URLs, papers, articles) appropriate to the domain. Prompt the user to provide the first one to ingest, then hand off to wiki-ingest.
42
44
 
43
45
  ## Stop conditions
@@ -117,6 +117,7 @@ project: # optional: "[[slug]]" for cross-reference
117
117
  - **Stable asset pool:** binary assets may use any flat or URL-friendly nested path under `raw/assets/`; no fixed internal taxonomy such as papers/transcripts is required.
118
118
  - Use explicit vault-root embeds such as `![[raw/assets/example/diagram.png]]` so Obsidian preview and GitHub browsing remain unambiguous.
119
119
  - Resolve and preview a new local embed before finalizing its raw capture. Once referenced, the asset path freezes; source archive/dedup does not move it. Remote HTTP(S) images remain external dependencies unless separately captured.
120
+ - **Asset notes:** When storing binaries under `raw/assets/`, also write a sibling Markdown note (`listings.md`, `note.md`, or a dated `.md`) that embeds each file with `![[filename.png]]` or vault-root `![[raw/assets/<dir>/<file>]]`. A `.txt` sidecar is never the only index; Obsidian opens Markdown notes, not `.txt`.
120
121
  - **Dataview queries** (read-only; do not replace index.md):
121
122
 
122
123
  ```dataview