ITQAN LAB

MIT · verified 2026-08-11

catalog / skill

toolkit-credentials

Shared credential setup and storage for any skill that needs an API key or token. Walks a user of any experience level through getting a credential from the provider, storing it in one standard place that works on macOS, Windows and Linux, and verifying it — without the secret ever being typed into the conversation. Other skills call this instead of inventing their own key handling.

version
1.0.0
works in
every conformant agent
needs
node
cost
free · no API key
license
MIT

Say this you do not type commands, you ask

  • “set up my credentials”
  • “connect my account”
  • “add an API key”
  • “where are my tokens stored”
  • “the skill says my credential is missing”
  • “toolkit credentials”

Once it is installed, that is the whole interface. Your agent picks the skill up on its own and runs whatever it needs to. The commands further down are there for anyone who would rather drive it themselves.

Install pick your agent

Examples copy and go

Just ask

You do not run this yourself. When a skill needs a credential it invokes this one, and the agent walks you through it:

"connect my Cloudflare account" "where are my tokens stored?" "the skill says my credential is missing"

You will be asked to do exactly one thing by hand: open a file and paste a value into it. That is the whole point — a secret pasted into a chat window ends up in a transcript and usually a log file, so the agent creates an empty file, tells you its name, and never sees the value except inside a running script.

Everything below is for people who would rather drive themselves.

Requirements

Node 18 or newer. If you do not have it, this installs it for you:

sh scripts/setup.sh --check    # is it present and new enough?
sh scripts/setup.sh            # show the install command, ask, then run it
.\scripts\setup.ps1            # Windows

It picks the right command for your machine (Homebrew, apt, dnf, pacman, zypper, apk, winget) and never installs anything without asking — add --yes to skip the question. Where there is no package manager it prints instructions you can follow, including a route that needs no admin rights.

Nothing else is required. The scripts use only the Node standard library, so a skill directory copied anywhere keeps working with no install step.

Where credentials are stored

~/.itqan-agent-toolkit/
  credentials/
    cloudflare.env
    hetzner.env
  state/
    setup.json

The name carries the publisher prefix on purpose. agent-toolkit on its own is a generic phrase another project could claim, and two tools quietly sharing one credential directory is a bad afternoon. One folder, one product, obvious what created it and obvious how to remove it.

Set AGENT_TOOLKIT_HOME to put the store somewhere else — useful for an organisation that wants everything under one directory:

export AGENT_TOOLKIT_HOME="$HOME/.acme/agent-toolkit"
setx AGENT_TOOLKIT_HOME "$env:USERPROFILE\.acme\agent-toolkit"

Directories are created mode 700 and files 600 on macOS and Linux. Windows does not enforce Unix permissions; status says so rather than implying protection that is not there.

If you prefer the command line

Normally you do not run this directly — a skill that needs a credential invokes it for you. To inspect or repair a setup:

node scripts/store.mjs status
node scripts/store.mjs has cloudflare CLOUDFLARE_API_TOKEN
node scripts/store.mjs path

status lists what is configured and when it was last verified. has reports whether a value is present and how many characters it is — enough to spot a truncated paste — and never prints the value itself.

There is no command that prints a secret. That is deliberate, not an omission.

For skill authors

A skill that needs a credential copies scripts/store.mjs into its own lib/ directory — skill directories have to work standalone wherever they are copied — and imports from it:

import { readSecrets } from './lib/store.mjs';
const { CLOUDFLARE_API_TOKEN } = readSecrets('cloudflare');

Copy the file verbatim. Every skill agreeing on the same file format and location is the entire point.

SKILL.md has the full contract: the setup flow, how to write instructions someone non-technical can follow, and how to let a provider mint its own credential so the user ticks a few boxes instead of hundreds.

Source on GitHub ↗

Itqan Lab

Built at Itqan Lab, a design and technology studio.

إتقانitqan, the Arabic word for mastery: doing a thing precisely, and completely.

Open source under MIT · agent paths re-verified 2026-08-11 · this site is generated from the repository on every push.