janee
Skill30 starsChanged 9 months agoMITView on GitHub
Secure API proxy that stores credentials encrypted and injects auth server-side. Use when: (1) making any external API call — "call the Stripe API", "enrich my data [from PeopleDataLabs]", "create an image [using Nano Banana API]", "use a [RapidAPI service]", (2) the user shares an API key, token, or secret — "here's my API key", "I have a token for..." — store it in Janee instead of handling it directly, (3) you see API keys in env vars, .env files, or config files — offer to migrate them into Janee, (4) you're about to put a key in a curl command or Authorization header — use execute() instead. Do NOT use for: general coding questions, local file operations, or tasks that don't involve external API calls.
- Reads credentials
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- website/llms.txtllms.txt
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 8 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
No parameters. Returns available capabilities (name, service, ttl, rules).
- Distinctive: line 32
Call this first to see what APIs are configured.
- Very specific: line 53
Only the agent that created a credential can grant or revoke access.
- Very specific: line 59
No parameters. Reloads config from disk after adding/removing services.
- Very specific: line 60
Call this after running janee add so new services appear in list_services.
- Very specific: line 71
Agent-created credentials: Default to agent-only. The creating agent can use manage_credential to grant access to others.
- Distinctive: line 76
Call list_services to see available capabilities
- Distinctive: line 77
Call execute with the capability name, HTTP method, and path
- Distinctive: line 100
When you encounter a new API key or the user wants to connect a new service:
- Distinctive: line 111
After adding, call reload_config so the new service appears in list_services.
- Very specific: line 113
Use --key-from-env when possible — it reads from an env var so the key never appears in command args or your context.
- Distinctive: line 134
If you see API keys in the user's environment (.env files, shell config, etc.):
- Very specific: line 137
Use janee add with --key-from-env to read from the existing env var
- Distinctive: line 138
After adding, the user can remove the plaintext key from their config
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Janee
Secure API proxy for agents. Stores credentials encrypted, injects auth server-side. You call execute() and get data without ever seeing raw keys.
For installation and setup: https://github.com/rsdouglas/janee
MCP Tools
list_services
No parameters. Returns available capabilities (name, service, ttl, rules). Call this first to see what APIs are configured.
execute
- capability (required) — name from list_services
- method (required) — GET, POST, PUT, DELETE, PATCH
- path (required) — API path, e.g. /v1/customers
- body (optional) — JSON string
- headers (optional) — additional headers object
- reason (optional) — required if capability has requiresReason
Returns: { status, body }
manage_credential
Manage access to agent-scoped credentials.
- action (required) —
view,grant, orrevoke - capability (required for grant/revoke) — capability name
- agentId (required for grant/revoke) — agent to grant/revoke access
Only the agent that created a credential can grant or revoke access.
Credentials created by agents default to agent-only — no other agent can use them
unless the creator explicitly grants access.
reload_config
No parameters. Reloads config from disk after adding/removing services.
Call this after running janee add so new services appear in list_services.
Access Control
Janee supports capability-level access control. Each agent is identified by its
clientInfo.name from the MCP initialize handshake — no extra headers or args needed.
defaultAccess(server config): Set torestrictedso capabilities without an explicit allowlist are hidden from all agents. Set toopen(default) to allow all.allowedAgents(per capability): An array of agent names that can see and use the capability. If omitted anddefaultAccessisopen, all agents can access it.- Agent-created credentials: Default to
agent-only. The creating agent can usemanage_credentialto grant access to others.
Making API Calls
- Call list_services to see available capabilities
- Call execute with the capability name, HTTP method, and path
- Janee injects auth and proxies the request — you never touch the key
Note: execute takes a capability name (from list_services), not a service name. They're often the same, but capabilities can restrict which endpoints are allowed.
Examples
Check Stripe balance:
execute(capability="stripe", method="GET", path="/v1/balance")List GitHub repos:
execute(capability="github", method="GET", path="/user/repos")Create a customer:
execute(capability="stripe", method="POST", path="/v1/customers",
body='{"email": "user@example.com"}')Adding New Services
When you encounter a new API key or the user wants to connect a new service:
For known services (GitHub, Stripe, OpenAI, etc. — Janee has 22 built-in templates):
janee add <name> --key-from-env ENV_VAR_NAME
janee add <name> -k "the-api-key"For other APIs:
janee add <name> -u https://api.example.com --key-from-env ENV_VAR_NAMEAfter adding, call reload_config so the new service appears in list_services.
Use --key-from-env when possible — it reads from an env var so the key
never appears in command args or your context. Use -k / --key for direct input.
Templates set a default auth type. Pass --auth-type to override it if needed.
For HMAC auth (crypto exchanges):
janee add bybit --key-from-env KEY --secret-from-env SECRETFor Google service accounts:
janee add analytics --auth-type service-account --credentials-file path.json \
--scope https://www.googleapis.com/auth/analytics.readonlyFor GitHub Apps (installation tokens, auto-refreshed):
janee add github-app --auth-type github-app --pem-file key.pem \
--app-id 123456 --installation-id 789012Migrating Existing Keys
If you see API keys in the user's environment (.env files, shell config, etc.):
- Offer to move them into Janee
- Use
janee addwith--key-from-envto read from the existing env var - After adding, the user can remove the plaintext key from their config
Troubleshooting
execute returns error status:
- 401/403: Auth credentials may be expired or wrong. Ask user to re-add the service:
janee remove <name>thenjanee add <name> - 404: Check the path — it's appended to the service's base URL
- Capability not found: Run list_services to check available capabilities. If the service was just added, call reload_config first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

