← Catalog

@srobroek/pi-project-secrets

Per-project secrets with fnox and 1Password: store, use, inspect and rotate them with no value in the transcript.

Package

Install

Install with PiG

pig install npm:@srobroek/pi-project-secrets

Install with Pi

pi install npm:@srobroek/pi-project-secrets
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./skills"
  ],
  "extensions": [
    "./_kit/prereqs.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.1.0 (README.md). PiG does not review it.

project-secrets

Per-project secrets with fnox and its configured providers, 1Password among them, as one skill. A project on another secret manager follows that manager's own workflow.

SkillWhen
project-secretsSecrets, API keys, .env, fnox, 1Password, CI secrets or AWS credentials for a project

The skill gives guidance and the questions to ask the user. It covers:

  • a committed fnox.toml of references, never values, when the project uses fnox
  • where secrets live according to the project's configured provider and access policy
  • the gitignored fnox.local.toml sync cache
  • running commands through fnox exec and mise tasks
  • the rules that keep values out of the transcript

It assumes the host's global fnox config (for example op and age providers and shared machine keys) and does not declare it again. Commands were checked against fnox 1.47.

Each task has its own reference in references/:

ReferenceTask
use.mdRun a command with secrets
inspect.mdList the declared secrets, or diagnose a failure
store.mdStore a credential, or find an existing 1Password item
vaults.mdChoose a vault, or set up a shared or per-project one
rotate.mdRotate, revoke or remove a secret
profiles.mdEnvironments, staging or production
fnox-config.mdThe config file, and caching values for offline use
ci-github.mdGitHub Actions: a service account or fnox push
mcp.mdfnox mcp for agents, off by default

store.md writes a value the agent generates, or one a command prints, through the safety_secret_store tool of the secret-store plugin, which supports 1Password items and fnox value stores. Without that plugin it gives shell steps instead. The safety plugin's op-guard refuses those steps, so install secret-store next to safety.

The project plugin's project-scaffold skill loads this skill for its secrets step.

Install

Install the Pi package from npm:

pi install npm:@srobroek/pi-project-secrets
opencode plugin add 'github:srobroek/harness-plugins::path:plugins/project-secrets/opencode'

Claude Code installs the same skill from this repository's marketplace:

claude plugin marketplace add srobroek/harness-plugins
claude plugin install project-secrets@harness-plugins

A skill you already have with the same name wins over the plugin's copy.

Works with

This package works with these pi packages. Install them next to it.

PackageRequiredForInstall
@srobroek/pi-secret-storenothe safety_secret_store tool that references/store.md uses to write a value without a shellpi install npm:@srobroek/pi-secret-store