{"_id":"@d1g1tlprim8/pi-okf-wiki","_rev":"5-186a7b5802f2533d1bb1380ddeb86c40","name":"@d1g1tlprim8/pi-okf-wiki","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@d1g1tlprim8/pi-okf-wiki","version":"1.0.0","keywords":["pi-package","wiki","okf"],"_id":"@d1g1tlprim8/pi-okf-wiki@1.0.0","maintainers":[{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"}],"homepage":"https://github.com/theFuribundi/pi-okf-wiki#readme","bugs":{"url":"https://github.com/theFuribundi/pi-okf-wiki/issues"},"pi":{"type":"package"},"dist":{"shasum":"28131e27e5ebe3a801df8b4877ad9960efe43bd4","tarball":"https://registry.npmjs.org/@d1g1tlprim8/pi-okf-wiki/-/pi-okf-wiki-1.0.0.tgz","fileCount":8,"integrity":"sha512-gUSSnfb2B8SjtrRUC5ohZ0BN8vSdP/J4fmLHIFtFUA37JHbk8MrP9zhc7FqrHkV9RndMWb33i8RbJimBNOc7FA==","signatures":[{"sig":"MEQCIE6KTFQtHbfeYgdaM1llnYyH1C2lREv+GF4/q525148NAiAY53CRKp4y33UlPJqjHf4zrVL6PKtDxjxT7pye29QByg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18080},"_npmUser":{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"},"repository":{"url":"git+https://github.com/theFuribundi/pi-okf-wiki.git","type":"git"},"_npmVersion":"11.13.0","description":"An autonomous OKF-compliant wiki agent skill for Pi.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"js-yaml":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/pi-okf-wiki_1.0.0_1783286113753_0.4426032321879714","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@d1g1tlprim8/pi-okf-wiki","version":"1.0.1","keywords":["pi-package","wiki","okf"],"_id":"@d1g1tlprim8/pi-okf-wiki@1.0.1","maintainers":[{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"}],"homepage":"https://github.com/theFuribundi/pi-okf-wiki#readme","bugs":{"url":"https://github.com/theFuribundi/pi-okf-wiki/issues"},"pi":{"type":"package"},"dist":{"shasum":"3abe8eed9795adfa29a57c2b7ea9bd80b4f8ebcb","tarball":"https://registry.npmjs.org/@d1g1tlprim8/pi-okf-wiki/-/pi-okf-wiki-1.0.1.tgz","fileCount":8,"integrity":"sha512-UaaD0y+ofQGnbe5YWvazuzwZ/5cu66s3FbCOCDbw/uq+5CCgqFbPImtQEGrh7nryZ7+68tAkMUeaWKKn220uCA==","signatures":[{"sig":"MEUCIHThBEbOBMX1vJyLPipTkxpYq70x92hc8X5fBn3EScFAAiEAquvm+svopSeJFaWAlTgq7h6qVvbX2hldQeg1xR+Of0s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18685},"gitHead":"533b1d3f09e0a88cd89c8a380943f44d594ce7e6","_npmUser":{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"},"repository":{"url":"git+https://github.com/theFuribundi/pi-okf-wiki.git","type":"git"},"_npmVersion":"11.13.0","description":"An autonomous OKF-compliant wiki agent skill for Pi.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"js-yaml":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/pi-okf-wiki_1.0.1_1783306773432_0.2816649742433248","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@d1g1tlprim8/pi-okf-wiki","version":"1.0.2","keywords":["pi-package","wiki","okf"],"license":"Apache-2.0","_id":"@d1g1tlprim8/pi-okf-wiki@1.0.2","maintainers":[{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"}],"homepage":"https://github.com/theFuribundi/pi-okf-wiki#readme","bugs":{"url":"https://github.com/theFuribundi/pi-okf-wiki/issues"},"pi":{"type":"package"},"dist":{"shasum":"cb0a2b5665ed322ee2c8b715ac75b03c94506800","tarball":"https://registry.npmjs.org/@d1g1tlprim8/pi-okf-wiki/-/pi-okf-wiki-1.0.2.tgz","fileCount":9,"integrity":"sha512-IS2e0Y7f8iyL/3U0805rYUjUlAxDKMpi/MdJkG7RWxTIxWcXn5ahF4OSDPz5mBBMtyG4oKIGsTEGUwtMD2cToA==","signatures":[{"sig":"MEUCIHRpwylX3TiRtfXZzVK6u+gJ8On1TDPeVeqb13UA7v24AiEA/k7LAre/LT8mnD9re+vKQyduahE097R+iiAJCmCWbYo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30069},"gitHead":"fbf07d9f0fb355c49e4460760b8c1f1e77d9a573","_npmUser":{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"},"repository":{"url":"git+https://github.com/theFuribundi/pi-okf-wiki.git","type":"git"},"_npmVersion":"11.13.0","description":"An autonomous OKF-compliant wiki agent skill for Pi.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"js-yaml":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/pi-okf-wiki_1.0.2_1783308006255_0.7520691994350701","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@d1g1tlprim8/pi-okf-wiki","version":"1.0.3","keywords":["pi-package","wiki","okf"],"license":"Apache-2.0","_id":"@d1g1tlprim8/pi-okf-wiki@1.0.3","maintainers":[{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"}],"homepage":"https://github.com/theFuribundi/pi-okf-wiki#readme","bugs":{"url":"https://github.com/theFuribundi/pi-okf-wiki/issues"},"pi":{"type":"package"},"dist":{"shasum":"42b36c4ddf0dd52c1081db5d33eab30947968834","tarball":"https://registry.npmjs.org/@d1g1tlprim8/pi-okf-wiki/-/pi-okf-wiki-1.0.3.tgz","fileCount":9,"integrity":"sha512-0uAf7nMClg1Ac3mQX0noVrs9kYlGERTo/tff2m8C96b8+TUAPFaWWXQnw036sGnedqUfC3EiA6HMBdml87VUpA==","signatures":[{"sig":"MEQCIDk632giJuflrj+yxYUJGr84sZpIl3D+F3KrFV4TfNS3AiA3C54WvK7Q82ItVT3cDentXNojfL3i3nHYM0oQ+9ShSQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30433},"gitHead":"df6c29db7569a24f6c87d0564872b3b550df8e3a","_npmUser":{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"},"repository":{"url":"git+https://github.com/theFuribundi/pi-okf-wiki.git","type":"git"},"_npmVersion":"11.13.0","description":"An autonomous OKF-compliant wiki agent skill for Pi.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"js-yaml":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/pi-okf-wiki_1.0.3_1783309993022_0.8459745851332221","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@d1g1tlprim8/pi-okf-wiki","version":"1.0.4","description":"An autonomous OKF-compliant wiki agent skill for Pi.","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/theFuribundi/pi-okf-wiki.git"},"keywords":["pi-package","wiki","okf"],"dependencies":{"js-yaml":"^4.1.0"},"devDependencies":{"@types/js-yaml":"^4.0.9","@types/node":"^20.0.0","tsx":"^4.7.0","typescript":"^5.0.0"},"pi":{"type":"package"},"gitHead":"4c27c91348e18ea025ff6efc426918d09d877048","_id":"@d1g1tlprim8/pi-okf-wiki@1.0.4","bugs":{"url":"https://github.com/theFuribundi/pi-okf-wiki/issues"},"homepage":"https://github.com/theFuribundi/pi-okf-wiki#readme","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-FSX6DGA2wvgTx8nymEUK8lHE1wtf8zxnyRUk8MzL2GdXfHegpoibJDFLTrkvM7lmV2TuBw17cChyPi2HKq/85g==","shasum":"7637b20650181c0b4f5f9e0e63fd2b99797f6a63","tarball":"https://registry.npmjs.org/@d1g1tlprim8/pi-okf-wiki/-/pi-okf-wiki-1.0.4.tgz","fileCount":9,"unpackedSize":30718,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHYSg39yGTCuaXKb+RKfd+SeDecEuygnl3xpXEEHFyS9AiB4cu9yCp87jgrb+qp5U1R19FvencNKZOR1QyOpPoctJQ=="}]},"_npmUser":{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"},"directories":{},"maintainers":[{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-okf-wiki_1.0.4_1783315064790_0.5240973005314127"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-05T21:15:13.600Z","modified":"2026-07-06T05:17:45.032Z","1.0.0":"2026-07-05T21:15:13.879Z","1.0.1":"2026-07-06T02:59:33.580Z","1.0.2":"2026-07-06T03:20:06.392Z","1.0.3":"2026-07-06T03:53:13.170Z","1.0.4":"2026-07-06T05:17:44.928Z"},"bugs":{"url":"https://github.com/theFuribundi/pi-okf-wiki/issues"},"license":"Apache-2.0","homepage":"https://github.com/theFuribundi/pi-okf-wiki#readme","keywords":["pi-package","wiki","okf"],"repository":{"type":"git","url":"git+https://github.com/theFuribundi/pi-okf-wiki.git"},"description":"An autonomous OKF-compliant wiki agent skill for Pi.","maintainers":[{"name":"d1g1tlprim8","email":"kbmc81@gmail.com"}],"readme":"# OKF-Wiki Skill\n\nAn autonomous, autonomous-agent-driven knowledge base skill built on Google's Open Knowledge Format (OKF). This skill equips your LLM agent with the precise instructions and TypeScript utilities needed to safely maintain a massive, compounding wiki graph.\n\n## Features\n- **Atomic Writes & Git Auto-Versioning:** The agent never corrupts files. Edits are handled atomically and automatically committed to Git.\n- **Compounding Artifacts:** The agent is instructed to never let a good synthesis die in the chat. It automatically saves high-value insights back into the graph.\n- **Strict OKF Schema:** Enforces `id`, `type`, `created_date`, `status`, and `last_updated` on every file.\n- **Graph Integrity:** Detects orphans, generates backlinks, and safely updates Obsidian `[[wikilinks]]` when files move.\n- **Ledger Management:** Maintains a strict, parseable `log.md` chronology of every wiki change.\n\n## Installation\n\nThe easiest way to install this skill globally is using the official Pi package manager:\n\n```bash\npi install npm:@d1g1tlprim8/pi-okf-wiki\n```\n\n*(Pi will automatically download the skill, register it globally, and install all necessary dependencies).*\n\n### Manual Installation (From Source)\nIf you are cloning this repository directly from GitHub to modify the source code yourself:\n1. Clone the repository anywhere on your machine (e.g., your Desktop or `~/Projects`).\n   ```bash\n   git clone https://github.com/theFuribundi/pi-okf-wiki.git\n   ```\n2. Navigate to where you cloned it, and install it locally using the Pi CLI:\n   ```bash\n   pi install ./pi-okf-wiki\n   ```\n*(Pi will remember this exact local path, so any edits you make to the source code will immediately reflect in your agent's behavior without needing to move files).*\n\n## Usage\n\nSimply run your agent (e.g. Pi) inside any empty directory where you want to start a wiki.\n\n1. **Ingest a Document:** Create a `raw/` folder and drop an article into it. Ask the agent: *\"Read the article in raw/ and ingest it into the wiki.\"*\n2. **Explore:** Ask the agent: *\"What is the history of the concept [X]?\"*\n3. **Lint:** Ask the agent: *\"Run a lint and health check on the graph.\"*\n\n## Utilities Overview (For Agents)\n\nThese scripts are located in `scripts/` and are called by the agent to perform safe mutations.\n\n- `tsx okf-fs.ts finalize <filepath>`: Normalizes slugs, stamps timestamps, and commits to git.\n- `tsx okf-lint.ts <dir>`: Validates frontmatter schema and tags.\n- `tsx okf-graph.ts orphans|backlinks`: Checks the integrity of graph edges.\n- `tsx okf-log.ts append|digest|history`: Interacts with the `log.md` ledger.\n\n## Roadmap\n\n- **Advanced Semantic Search:** Currently, the agent relies on traversing `index.md` to navigate the graph. In a future update, we plan to implement a native, TypeScript-based advanced search architecture (such as BM25, RRF, or GraphRAG) to ensure instant, highly accurate retrieval even when the knowledge graph scales to tens of thousands of nodes.\n","readmeFilename":"README.md"}