Use 1Password items granted to this machine's role (op:// references) without holding a 1Password token, through Fleetlayer's 1Password plugin, including items granted "ask each time" that need `--why` and the person's approval per run, or set the plugin up for the person. Use when a command needs a token or key that lives in 1Password ("op run", "op read", an op:// reference, OP_SERVICE_ACCOUNT_TOKEN missing), when `fleetlayer secrets run` says a reference isn't delivered, or when the person...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Skill?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/fleetlayer-skill)
---
name: fleetlayer-1password
description: Use 1Password items granted to this machine's role (op:// references) without holding a 1Password token, through Fleetlayer's 1Password plugin, including items granted "ask each time" that need `--why` and the person's approval per run, or set the plugin up for the person. Use when a command needs a token or key that lives in 1Password ("op run", "op read", an op:// reference, OP_SERVICE_ACCOUNT_TOKEN missing), when `fleetlayer secrets run` says a reference isn't delivered, or when the person asks to give their agents secrets from 1Password per role.
---
# 1Password items for this role
The person's 1Password service-account token lives with Fleetlayer's 1Password plugin, under a Unix user you can't
read. It delivers the items granted to this machine's role (your Unix user's node). You never need `op` or a
1Password token here: don't ask for one, and don't look for one.
## Use an item
```sh
fleetlayer secrets list # what this role has, by reference
GITHUB_TOKEN=op://github/deploy-bot/token fleetlayer secrets run -- gh api user
fleetlayer secrets run --env-file .env -- terraform plan # .env lines like NAME=op://vault/item/field
```
Where a script ran `op run -- <cmd>`, run `fleetlayer secrets run -- <cmd>` instead: same references, same env files.
Output comes back with secrets replaced by `[REDACTED <reference>]`. Never print, echo, write down or send a value,
and never ask the person to paste one into the chat.
## Items that ask each time
Some items are granted "ask each time": they're never on this machine, and each run that needs them waits for the
person. Give the reason in one line, and run the real command in one go, so they approve one request for the whole run:
```sh
fleetlayer secrets run --why "apply the database firewall change (ticket sc-123)" --env-file .env -- ansible-playbook site.yml
```
- Without `--why` it stops with "… is 'ask each time' …". Say what the run does and why now, in words the person can
judge from their phone. Not "needed for the task".
- It prints "waiting for your person to approve request ap_…" and waits (up to `--wait`, 10 minutes by default). Tell
the person once what you're running and why, then let it wait. Don't start a second run meanwhile.
- If it's refused, or times out, don't retry in a loop. Ask the person, or change the plan.
- Put every reference the run needs in one command. Several runs mean several approvals.
- `fleetlayer secrets grants` shows which items are `ask` (the access column) for which roles.
Some roles also get files (an env file, a token file) for tools that read one; `fleetlayer readings
onepassword.receive` shows their paths (`files`) and what's missing (`missing`) for your node.
## Items to fill
An item granted as `fill` (the access column of `fleetlayer secrets grants`) is never on this machine and can't be
read with `fleetlayer secrets run`: it's a password the person's shared browser types into a sign-in page for you,
with `browser_fill_secret` (the fleetlayer-browser skill). `ask` items can be filled the same way.
## When an item isn't there
"not delivered to this node: NAME=op://…" means your role has no grant for it. Check `fleetlayer secrets grants`
(every role, its nodes and its items), then tell the person which reference you need, for what, and which role you're
in (`fleetlayer me` names your node). Grants are per role, never per session, and they're the person's to change.
## Setting it up for the person
`docs/plugins/1password.md` in the Fleetlayer repo (and fleetlayer.ai/docs/plugins/1password/) has every step:
1. A Unix user and node for the source on an always-on machine, `op` installed there, and a service-account token in
a 0600 file owned by that user. Have the person create the token in 1Password and paste it into that file
themselves; never handle it in the chat.
2. The source's `source:` config: `token_files` and `roles` (role name, its nodes, the `op://` references it may
`read`, delivered ahead, and those it may `ask` for, one approved run at a time). For `ask:` items, also share the
`reveal` tool on the source's node with `check_calls: true`, `always_ask: [reveal]` and
`call_targets: {reveal: ["/set"]}` (the doc's "Ask each time" section). The person approves on their phone or Mac
(`docs/approvals.md`). For `fill:` items (typed into a sign-in page by the person's shared browser), also set
`fill_hosts:` to the browser's node, add `fill` to the tool's `always_ask`, let `-@<browser node>` use the tool,
and give the browser `fill_secret: {via: 1password@<source node>}` (the doc's "Fill a sign-in form" section).
3. `receive: {from: <the source's node>}` (and any files to write) on each role's node, plus the `deny` rule in the
doc so only the source's node may send `1password/` bundles; then approve the first delivery to each
(`fleetlayer readings sync.status` on the source names the command).
4. Check: `fleetlayer secrets list` on a role's node, and `fleetlayer status` on both for problems.