@life-os/opc-cli
v0.1.0
Published
Headless OPC LifeOS CLI for one-person-company vault operations
Readme
OPC CLI
opc is a headless CLI for operating an OPC LifeOS vault. It is intentionally
small: it verifies the OPC vault structure, lists department readiness, prints
dashboard generation prompts and installs the bundled opc + lifeos agent
skills.
pnpm -C apps/opc-cli build
node apps/opc-cli/bin/opc.mjs config vault="/path/to/OPC LifeOS"
node apps/opc-cli/bin/opc.mjs departments --json
node apps/opc-cli/bin/opc.mjs dashboard dept=sales
node apps/opc-cli/bin/opc.mjs skill install vault="/path/to/OPC LifeOS"After publishing, use it through npm:
npx -y @life-os/opc-cli config vault="/path/to/OPC LifeOS"
npx -y @life-os/opc-cli departments --json
npx -y @life-os/opc-cli dashboard dept=sales
npx -y @life-os/opc-cli skill install vault="/path/to/OPC LifeOS"Publishing
The workspace package remains private to prevent accidental direct npm publish
from leaking workspace-only dependencies. Use the staged publisher instead:
pnpm opc:publish:dry-run
pnpm opc:publishThe publisher builds the CLI and embedded skill assets, stages a public
@life-os/opc-cli manifest, bundles the runtime into dist/opc.mjs and
publishes to https://registry.npmjs.org.
