matthewwong525/WongStack / .agents/plugins/access
access
VerifiedSee who can sign in and what each person may use; add, change or remove a person.
README.md
View on GitHub# Access
Access decides who can sign in to your app, which parts each person may open, and what each person's AI assistant may do with the app's keys. It gives the owner a page to choose all of this, and a gate your app's routes ask on every request. Services come with it: the app holds each outside service's key, and a chat calls the service through the app.
## Add it to your project
Paste this message into a chat in your project, in any AI tool:
> Add WongStack's Access to this project. Follow the setup guide at https://github.com/matthewwong525/WongStack/blob/main/.agents/plugins/access/references/setup.md
The AI copies this folder into your project, connects it to your app's sign-in and database, adds the route and the gate, runs the store check, and saves the work. It asks you before each step that costs money or makes something public, and before it pushes. Until then, each new chat asks you once: *Access isn't set up yet. Set it up now?*
A [WongStack](https://github.com/matthewwong525/WongStack) project already has Access: it comes with each update. The guide stops there and changes nothing.
## Update it
Paste this message:
> Update WongStack's Access in this project. Follow the update steps at https://github.com/matthewwong525/WongStack/blob/main/.agents/plugins/access/references/setup.md#update
It keeps your own edits to this folder. When one of your edits and a new change touch the same lines, it changes nothing and names each file.
## What you get
- **The Access page**: the owner, or an Admin the owner picks, adds people, gives each the apps they may open, and sets what their assistant may do with each key: *Read* or *Read & write*. Roles give a group the same set.
- **A gate**: `gate(request, need)` answers `null`, or the refusal your route sends back as it is.
- **People from a chat**: `/access` says who has what, and adds, changes or removes a person after you say yes.
- **Services**: a list of the keys you may use, a call through the app with your level, and a definition of each call your project uses. Keys reach the app sealed, never in a chat.
- **A sign-in list kept in step**, when your sign-in wall has one: a person you add can sign in, and a person you remove can not.
- **One sign-in for your other tools**: your project's own files may use [`signin/computer.mjs`](signin/computer.mjs) to sign this computer in to another tool through your app. Access changes no other tool's files.
## What it needs
- **A JavaScript server**: Node, Cloudflare Workers, Deno or Bun. Access answers a standard `Request` with a standard `Response`.
- **A sign-in that tells your server who is asking**: a Cloudflare sign-in wall, or your app's own login. Access never signs people in itself.
- **A database** for a store that passes the check in [`store/contract.mjs`](store/contract.mjs). Start from [the stand-in store](store/stand-in.mjs).
- **This folder** at `.claude/skills/access/`, as a real folder, and two files outside it, so an update never touches them: your slots, and `.agents/access/slots.json`, which names them. Its services command links up to `.claude/skills/services/`.
- **Its start check in your project's settings**, `.claude/settings.json` and `.codex/hooks.json`, so it runs in every chat. The setup guide adds it.
[How WongStack uses Access](https://github.com/matthewwong525/WongStack/blob/main/wiki/stack/employee-access.md) explains people, apps, roles and key levels in full.
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 |