{"_id":"@arhen/pi-core-skill-tool","_rev":"11-d193121bf5fe7bf00f1a969aa88b0f04","name":"@arhen/pi-core-skill-tool","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.0":{"name":"@arhen/pi-core-skill-tool","version":"1.0.0","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.0","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-skill-tool#readme","bugs":{"url":"https://github.com/arhen/pi-skill-tool/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"8e02efb65871a74ba3459327764a882002962ae5","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.0.tgz","fileCount":5,"integrity":"sha512-dn13uXAItOO7XuxhS8Miy2+uy8f+ZPuOK3dbWqRp7tdSyTXGMkdKtHfDSgDd7bX09K7SnBvCeQeaF68oSf/+Ng==","signatures":[{"sig":"MEYCIQDSswNs/2m40LUsXrCQuCg7xuIkjxxjzIIYYQ86W19BhwIhAMNIAdePEnXWN7gEkJMv928wpm4kEsMyO8nRDk4Nkd8v","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15648},"main":"./src/index.ts","type":"module","gitHead":"888d55861de296e7cfaece7d9a0081033f3052f6","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-skill-tool.git","type":"git"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^22.0.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.0_1786858729671_0.5871675823642637","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@arhen/pi-core-skill-tool","version":"1.0.1","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.1","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-core-skill-tool#readme","bugs":{"url":"https://github.com/arhen/pi-core-skill-tool/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"2f0cdf2e43212b55a96f583464df0a3af5dba0b1","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.1.tgz","fileCount":6,"integrity":"sha512-75fr6ZPH/Cf1j6Ku9lJoV/6WyxhVYCFeJwjPi+uJJkJPGf6DHwJe0ausjLzqmBERtOPjLGCGjlCD73MtSKOcxQ==","signatures":[{"sig":"MEQCIFOoODv4Jt3TvlXHFAziRax0i+3eeoWNJ612bZU4a7HGAiB38Cy8bqowVN6bhkVbCn7ttRuolHwu+46Ihtdn4CffRw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53881},"main":"./src/index.ts","type":"module","gitHead":"0eb71243b270aa50f733d8d80daa15b154e54ce5","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-core-skill-tool.git","type":"git"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^7.0.2","@types/node":"^22.0.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"^0.84.2"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.1_1786867703185_0.9997997872206634","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@arhen/pi-core-skill-tool","version":"1.0.2","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.2","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-core-skill-tool#readme","bugs":{"url":"https://github.com/arhen/pi-core-skill-tool/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"483fba4b98c33e9935903e8ea87c1823f55ac8b7","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.2.tgz","fileCount":6,"integrity":"sha512-bYealTtQy+weGSMmwI3Sf+tLOxiDcr974hdGzkuhpv8/bDiDEwYUKRoBvhukvsQo+hRJX3tAoBB8/LyZAV5KpQ==","signatures":[{"sig":"MEQCIEhd3lFbkFHEp+g38BYECwhv8lyV+McvplY0LtFaq9ZuAiADAcyd6L7dgdp1u9NJ45qap121UWD45WpgxzSdy0WEtg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53874},"main":"./src/index.ts","type":"module","gitHead":"41f050a91a870cac9da577fe7f1eaaac29e98854","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-core-skill-tool.git","type":"git"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^7.0.2","@types/node":"^22.0.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"^0.84.2"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.2_1786867725706_0.44311306744622136","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@arhen/pi-core-skill-tool","version":"1.0.3","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.3","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-core-skill-tool#readme","bugs":{"url":"https://github.com/arhen/pi-core-skill-tool/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"cf2a21a0105c119e2f5561744db64bbd40f1a0d7","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.3.tgz","fileCount":6,"integrity":"sha512-NmYPL4786M4PYd8YQ/BjHqhXTb7U/jemR/q5l//w0Czy2CsLtqNwVkbRcts4FJpF4xc/NiLVkqD+qi1snuE0Sg==","signatures":[{"sig":"MEUCIC0jr5UdXTWEc+AIg7LUqzttH2l3l282u7OTg2Wsnsa6AiEA1Cx8JQmJbfyfpxsCrF7WVhPK1LUETgavEKpQ9A9Q+6s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54033},"main":"./src/index.ts","type":"module","gitHead":"1d1a2d0e58aaa55b713ea2d502bfb1b96b63d86e","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-core-skill-tool.git","type":"git"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^7.0.2","@types/node":"^22.0.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"^0.84.2"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.3_1786867761669_0.7378938251166458","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@arhen/pi-core-skill-tool","version":"1.0.4","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.4","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-core-skill-tool#readme","bugs":{"url":"https://github.com/arhen/pi-core-skill-tool/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"5b914fe2bab767a8c88e1acc11d5162d653dff04","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.4.tgz","fileCount":6,"integrity":"sha512-NZjb8sdoV10hObK9gFYD+i3hb9+gaA2XCstClPCYZT7L6BojHXgsosdgnUniPS47mjmYSt/FbGn2xwFeYTFzBA==","signatures":[{"sig":"MEUCIE6wi7c60B4XkXN16s8Qh0nHs9xRlNyPuaT3Ap8zpAWQAiEAkRgyz2N4377WYLLGyCVqwVgzsubgRRqIdTingMbUzes=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54147},"main":"./src/index.ts","type":"module","gitHead":"49128c93497eed37779af8b38827069fefa78431","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-core-skill-tool.git","type":"git"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^7.0.2","@types/node":"^22.0.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"^0.84.2"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.4_1786867788832_0.7043188855389322","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@arhen/pi-core-skill-tool","version":"1.0.5","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.5","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-core-skill-tool#readme","bugs":{"url":"https://github.com/arhen/pi-core-skill-tool/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"09760845956f22fdd66b02e1aab3563425400003","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.5.tgz","fileCount":6,"integrity":"sha512-fuJsfmruzSwXJe+vwXMIUTl0+ZhrTdK/TYI4yc/4wtV3C8ttzrTBTbEH1vk+NBjFTqjNHxYFFGr7VRysM79qjg==","signatures":[{"sig":"MEUCIGPgJp5tRexUvIW4fC6wAhktQBvAZ4CkHFvLXxjT7LguAiEA0oyLDQ/cBhzWhK2H6NSnmnN8JSWCWjReOKvPXOi4NpI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54166},"main":"./src/index.ts","type":"module","gitHead":"e48600f2c32819cbd021975dea76a10e7d6d4e62","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-core-skill-tool.git","type":"git"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^7.0.2","@types/node":"^22.0.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"^0.84.2"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.5_1786867822115_0.5563959200860891","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@arhen/pi-core-skill-tool","version":"1.0.6","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.6","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-core-skill-tool#readme","bugs":{"url":"https://github.com/arhen/pi-core-skill-tool/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"1be3ca0671f795b9e067b7dc41e47878c2ae5d0a","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.6.tgz","fileCount":6,"integrity":"sha512-YxwqDbXNXadTamA2nYhmf/O7aY7oNOK7VgOCtZAl9vYIRaHvnP5cC32lI+z56/1kqC3WUxAFPrBrUcilPOoalQ==","signatures":[{"sig":"MEYCIQCBLuzfe8i1QBcdl1XyS5gOkC0NafjBX33VnzCPBm0AlwIhAOdAlmXFKjfzMLtPAU3Jf/aXaghwRz8brKI5DhHpiToy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54857},"main":"./src/index.ts","type":"module","gitHead":"7be1e0c6a4f3ddcacf424a5a47b7b43864c32f35","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-core-skill-tool.git","type":"git"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typebox":"^1.3.14","@types/bun":"^1.3.14","typescript":"^7.0.2","@types/node":"^22.0.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"^0.84.2"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.6_1786868140546_0.6831036997678392","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@arhen/pi-core-skill-tool","version":"1.0.7","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.7","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-core-skill-tool#readme","bugs":{"url":"https://github.com/arhen/pi-core-skill-tool/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"d99ccf2c79242088ecc58f75f29a63871e8d539f","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.7.tgz","fileCount":6,"integrity":"sha512-qKWnoesCflnsvH4dNUFf2Y9AqPpHn+0bm/t8mOhwzrtCIThfnjVHKH4xaKEstJz6QSSycu1CAPZC42nz8etS7g==","signatures":[{"sig":"MEUCIHbRKliiDxvt8uWQ2luDr75PumEW8txIu9em9L4KEpHGAiEA9duwmzTyzF6QA3WdAx58fmwwypOhbej9pEj5n8qwSNo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55425},"main":"./src/index.ts","type":"module","gitHead":"1c1a7f816eff979859118051ecedca1519937406","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-core-skill-tool.git","type":"git"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typebox":"^1.3.14","@types/bun":"^1.3.14","typescript":"^7.0.2","@types/node":"^22.0.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":"^0.84.2"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.7_1786869012750_0.2948704783092264","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@arhen/pi-core-skill-tool","version":"1.0.8","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.8","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-core-skill-tool#readme","bugs":{"url":"https://github.com/arhen/pi-core-skill-tool/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"f429660a3d46d6c63022a9d3d9627446787c7d22","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.8.tgz","fileCount":4,"integrity":"sha512-4HiL57+oMItAPSk1nNt0KhvVaar2Plrx6LmDrAJ/scfP/mo06i72yIrC29Pu14XH8DAxE06nLrwOf4z4LzXFnA==","signatures":[{"sig":"MEQCIBJVbfHvVO0hsxj1U+/P4JOOU+RjZoX03GbREv+kZm/hAiAFo+RpNr3KMjUZmHnDiWiJKGVQpgP+QKtJ8mlJgh12CA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14439},"main":"./src/index.ts","type":"module","gitHead":"3184d7f518ff036317224c5245235cb8d74cbb48","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-core-skill-tool.git","type":"git"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^7.0.2","@types/node":"^22.0.0"},"peerDependencies":{"typebox":"^1.3.0","@earendil-works/pi-coding-agent":"^0.84.2"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.8_1786890200601_0.641713343150516","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@arhen/pi-core-skill-tool","version":"1.0.9","keywords":["pi-package","pi-extension","skills","agent-skills"],"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","_id":"@arhen/pi-core-skill-tool@1.0.9","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"homepage":"https://github.com/arhen/pi-extensions#readme","bugs":{"url":"https://github.com/arhen/pi-extensions/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"3817095c5b2983c7f0d780add5153e83bbf4a863","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.9.tgz","fileCount":4,"integrity":"sha512-TyutdXnRbwz2vrvVKuBp0FLIlRaWc5+lxhSL4Ao6JXiMkQDQt9IILIiMyWdsdI8Qh4j7RwOmt/NuUT2Gy9KwJg==","signatures":[{"sig":"MEUCIBprEOX09rm+CN5UwdH4CoDISKhOBmZ4yLolJlvbvMZiAiEA6P8NhKNKe/gmEE8xgaiMm1R8hURVrLWLTkcB2QxH/yQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14619},"main":"./src/index.ts","type":"module","gitHead":"5cad6a5943bb5ca20a7774f4036ab5028822cc4d","_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"repository":{"url":"git+https://github.com/arhen/pi-extensions.git","type":"git","directory":"packages/core/pi-core-skill-tool"},"_npmVersion":"10.9.2","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","directories":{},"_nodeVersion":"23.8.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^7.0.2","@types/node":"^22.0.0"},"peerDependencies":{"typebox":"^1.3.0","@earendil-works/pi-coding-agent":"^0.84.2"},"_npmOperationalInternal":{"tmp":"tmp/pi-core-skill-tool_1.0.9_1786950636678_0.35450702803515166","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@arhen/pi-core-skill-tool","version":"1.0.10","description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","keywords":["pi-package","pi-extension","skills","agent-skills"],"license":"MIT","author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"repository":{"type":"git","url":"git+https://github.com/arhen/pi-extensions.git","directory":"packages/core/pi-core-skill-tool"},"type":"module","main":"./src/index.ts","scripts":{"typecheck":"tsc --noEmit"},"pi":{"extensions":["./src/index.ts"]},"peerDependencies":{"@earendil-works/pi-coding-agent":"^0.84.2","typebox":"^1.3.14"},"devDependencies":{"@types/bun":"^1.3.14","typescript":"^7.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_id":"@arhen/pi-core-skill-tool@1.0.10","gitHead":"ac007b990447e17a3e10b797ac4dee0a7c71386f","bugs":{"url":"https://github.com/arhen/pi-extensions/issues"},"homepage":"https://github.com/arhen/pi-extensions#readme","_nodeVersion":"23.8.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-efxQxHdWTph3oPwW0WOgrqceFSl51trsWlCkBi5DYsr5vfkRuambDrFRRc8EnK6CU5oQOYp0MRgl92mXbZRJ2g==","shasum":"1c736b1d7f49a163775a50afd340e5df04c94860","tarball":"https://registry.npmjs.org/@arhen/pi-core-skill-tool/-/pi-core-skill-tool-1.0.10.tgz","fileCount":4,"unpackedSize":15092,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE5CdVjA4GTmssq8xXoC+q0zrnF0GAw7whW6UOukEeOKAiBmnBYqkwoR+GusS9Xbl4bIjXmGp0USVSv5kJhZ1Gwfhg=="}]},"_npmUser":{"name":"arhen","email":"itsme.arhen@gmail.com"},"directories":{},"maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-core-skill-tool_1.0.10_1787383394928_0.47326803863987044"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-16T05:38:49.482Z","modified":"2026-08-22T07:23:15.212Z","1.0.0":"2026-08-16T05:38:49.827Z","1.0.1":"2026-08-16T08:08:23.329Z","1.0.2":"2026-08-16T08:08:45.840Z","1.0.3":"2026-08-16T08:09:21.839Z","1.0.4":"2026-08-16T08:09:48.976Z","1.0.5":"2026-08-16T08:10:22.274Z","1.0.6":"2026-08-16T08:15:40.708Z","1.0.7":"2026-08-16T08:30:12.864Z","1.0.8":"2026-08-16T14:23:20.753Z","1.0.9":"2026-08-17T07:10:36.821Z","1.0.10":"2026-08-22T07:23:15.073Z"},"bugs":{"url":"https://github.com/arhen/pi-extensions/issues"},"author":{"name":"arhen","email":"arhen@users.noreply.github.com"},"license":"MIT","homepage":"https://github.com/arhen/pi-extensions#readme","keywords":["pi-package","pi-extension","skills","agent-skills"],"repository":{"type":"git","url":"git+https://github.com/arhen/pi-extensions.git","directory":"packages/core/pi-core-skill-tool"},"description":"Pi extension — opencode2-style skills: strips the built-in skill catalog from the system prompt and exposes skills via a single lazy `skill` tool. Agent auto-invokes, no user input, saves ~4.5K tokens/session.","maintainers":[{"name":"arhen","email":"itsme.arhen@gmail.com"}],"readme":"# pi-skill-tool\n\n[![npm version](https://img.shields.io/npm/v/@arhen/pi-core-skill-tool)](https://www.npmjs.com/package/@arhen/pi-core-skill-tool)\n[![npm downloads](https://img.shields.io/npm/dm/@arhen/pi-core-skill-tool)](https://www.npmjs.com/package/@arhen/pi-core-skill-tool)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/arhen/pi-core-skill-tool)](https://github.com/arhen/pi-core-skill-tool)\n\n## Install\n\nRequires the [pi coding agent](https://github.com/earendil-works/pi) — install it first: `npm install -g @earendil-works/pi-coding-agent`.\n\n```sh\npi install npm:@arhen/pi-core-skill-tool\n```\n\nPi extension that implements **opencode2-style skills**: the skill catalog is stripped from the system prompt and exposed through a single lazy `skill` tool.\n\n## Why\n\nPi injects the full `<available_skills>` catalog (name + description for every skill) into the system prompt — **~7.2K tokens every session, whether you use skills or not**. opencode2 instead packs the catalog into one tool's description and loads skill bodies only when the agent calls the tool.\n\nThis extension does the same for pi.\n\n## How it works\n\n1. `before_agent_start` → reads the skill catalog from `event.systemPromptOptions.skills` (pi's own discovery — project, user, settings, CLI, and npm package skills) and strips the built-in `<available_skills>...</available_skills>` block from the system prompt\n2. Registers one lazy `skill` tool; its description carries a compact catalog (name + truncated description, 100 chars/skill)\n3. Agent matches a task → calls `skill(\"name\")` → the tool reads that skill's SKILL.md body on demand and returns it → agent follows instructions\n\nNo filesystem discovery: the catalog comes entirely from pi via `systemPromptOptions` on `before_agent_start`, so it always matches what pi itself loads — no re-scanning, no divergence. SKILL.md bodies are read lazily only when the tool is called, saving ~4.5K tokens/session.\n\n## Full comparison matrix\n\nMeasured on a fresh session (`deepseek-v4-flash`, no user message beyond \"hi\").\n\n```\n┌───────────────────────┬─────────┬──────────────────────────────────┬───────────────────┐\n│ Config                │ Context │ Agent invokes skills?            │ User /skill:name? │\n├───────────────────────┼─────────┼──────────────────────────────────┼───────────────────┤\n│ Baseline (nothing)    │ 26,480  │ ✅ (reads SKILL.md from catalog) │ ✅                │\n├───────────────────────┼─────────┼──────────────────────────────────┼───────────────────┤\n│ Ext ON (strip + tool) │ 22,021  │ ✅ (calls skill tool)            │ ✅                │\n├───────────────────────┼─────────┼──────────────────────────────────┼───────────────────┤\n│ Ext OFF + flag ON     │ 18,660  │ ❌ dead — invisible              │ ✅ only           │\n└───────────────────────┴─────────┴──────────────────────────────────┴───────────────────┘\n```\n\n### Row by row\n\n**Baseline (nothing)** — stock pi, no extension, no flags.\n\n- Context: **26,480 tokens** every session.\n- The full catalog (all 69 skills, name + description + file path ≈ 28.9K chars) is embedded in the system prompt.\n- The agent sees every skill listed and can `read` any SKILL.md it wants — skills are fully agent-invocable.\n- Cost: the catalog is paid upfront whether or not any skill is ever used.\n\n**Ext ON (strip + tool)** — this extension installed, default mode.\n\n- Context: **22,021 tokens** (-4,459 vs baseline).\n- The catalog is removed from the system prompt and instead lives inside the description of one `skill` tool (truncated to 100 chars/skill ≈ 11.7K chars).\n- The agent still auto-invokes skills — it matches a task against the tool's catalog, calls `skill(\"name\")`, and receives the full SKILL.md content. No user input.\n- `/skill:name` still works (pi's command system is independent of the prompt catalog).\n\n**Ext OFF + flag ON** — extension removed, `disable-model-invocation: true` added to every SKILL.md frontmatter.\n\n- Context: **18,660 tokens** — the cheapest, but at a hard cost.\n- The flag hides skills from the system prompt entirely, so the agent **cannot see or load them**.\n- Only the user can trigger a skill by typing `/skill:name`.\n- Verified: asked about a private skill, the agent could not load it and improvised by reading unrelated source files instead.\n\n### The tradeoff in one line\n\nThe 3.4K tokens between Ext ON and Ext OFF+flag is the price of **agent-side skill invocation**. Ext OFF+flag saves the most but makes skills user-only — the agent's ability to use skills is gone. Ext ON keeps skills fully agent-invocable for a fraction of the baseline cost.\n\n## Our case — measured on this machine\n\nReference environment (the numbers above come from it):\n\n- **Model**: `deepseek/deepseek-v4-flash` (deepseek tokenizer)\n- **Skills loaded**: 69 (23 lark-*, 8 caveman-family, 6 npm-shipped: pi-lens ×4, pi-subagents, mcp-scripting, plus design/security/vercel/next misc)\n- **Tool count**: 25 baseline → 26 with the extension (the extra one is `skill`)\n\nContext composition at baseline (26,480 total):\n\n| Component | Tokens | Share |\n| --- | --- | --- |\n| 25 tool definitions (schemas + descriptions) | ~16K | 60% |\n| System prompt text (instructions, guidelines) | ~10.5K | 40% |\n| — of which: skill catalog (`<available_skills>`) | ~7.2K | 27% |\n\nContext excluding skills ≈ **19.3K** — that's pi's floor with this tool set (dominated by pi-subagents ~9.5K + pi-lens ~4.5K tool schemas).\n\nWhat the extension changes:\n\n| | Baseline | Ext ON | Δ |\n| --- | --- | --- | --- |\n| Skill catalog in system prompt | 28.9K chars | stripped (0) | -28.9K |\n| Catalog in `skill` tool description | — | 11.7K chars | +11.7K |\n| Net catalog cost | 7.2K tok | 2.9K tok | **-4.3K** |\n| Total fresh context | 26,480 | 22,021 | **-4,459** |\n\n## Pros\n\n- **Saves ~4.5K tokens/session (measured)** — 17% of fresh context, every session, no behavior change\n- **Agent keeps full skill autonomy** — same invocation flow as baseline, no user input required\n- **Lazy by design** — skill bodies load only when the tool is called, exactly like opencode2\n- **Zero config** — discovers the same skill locations pi uses, dedupes symlinks\n- **Reversible** — uninstall to go back to baseline; no skill files are modified\n- **Kill switch** — `PI_SKILL_TOOL=0` disables the tool (strip-only, ~19K) for emergency savings\n\n## Cons\n\n- **Truncated descriptions** (100 chars) — the agent matches on keywords rather than full text. Skill bodies are complete when loaded; only the catalog summary is shortened\n- **Catalog still costs ~2.9K** — the tool description must carry skill names for the agent to discover them. Removing it entirely (Ext OFF+flag) is cheaper but kills agent invocation\n\n## License\n\nMIT\n","readmeFilename":"README.md"}