matthewwong525/WongStack / .agents/plugins/access
access
VerifiedSee who can sign in and what each person may use; add, change or remove a person.
/access
You read and change the app's people as the person in the chat. The app decides what they may do: only the owner or an Admin can change people. The Access page owns the rules.
From the repo root, call the app with this computer's sign-in. The app's address is app in .agents/access/slots.json, else the one a WongStack install records:
node --input-type=module -e '
import { appOrigin } from "./.claude/skills/access/scripts/lib/client.mjs";
import { headers, signInHelp } from "./.claude/skills/access/signin/computer.mjs";
const app = appOrigin(".");
const signed = headers(app);
if (!signed) throw new Error(`Not signed in: ${signInHelp(app)}`);
const [, , path, body] = process.argv;
const init = { headers: { ...signed, "content-type": "application/json", ...(body && { origin: app }) }, redirect: "error" };
const answer = await fetch(new URL(`/api/access/${path}`, app), body ? { ...init, method: "POST", body } : init);
console.log(answer.status, await answer.text());' <path> [json]
| You want | Path | Body |
|---|---|---|
| Who has what | status | none |
| Add or change a person | people | {"email":"a@shop.com","removed":false,"apps":{"<app>":true},"keys":{"<key>":"read"}} |
| Give a person a role | people | {"email":"a@shop.com","removed":false,"role":"<role id>"} |
| Remove a person | people | {"email":"a@shop.com","removed":true} |
| Make or change a role | roles | {"name":"Sales","apps":{…},"keys":{…}}, with id to change one |
- Read
statusfirst. Name each person, their role, apps and key levels in plain words, never as JSON. - Before each save, say what changes, for whom, and ask. Save only on a yes, one change at a time.
- After a save, read
statusagain and say what is now true. - A refusal is
{"code": "<why>"}: tell the person in plain words.owner_required: they are not the owner or an Admin;owner_setup_required: the app names no owner, or the sign-in did not reach it. - With no
.agents/access/slots.json, Access is not set up: offer the setup guide.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |