invite
Skill293 starsChanged 11 days agoMITView on GitHub
Invite someone to this Egregore — repository access plus a setup link when Connected. Use for /invite <username>, 'invite <username>', or 'add <username> to the org'; not member removal.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- activitySkill
- announceSkill
- archiveSkill
- branchSkill
- checkupSkill
- commitSkill
- contributeSkill
- create-skillSkill
- dark-modeSkill
- dashboardSkill
- deep-reflectSkill
- delete-userSkill
- emissarySkill
- envSkill
- handoffSkill
- harvestSkill
- ingest-corpusSkill
- ingest-notionSkill
- ingestSkill
- ingest-user-interviewSkill
- issueSkill
- meetingSkill
- meSkill
- noteSkill
- notion-connectSkill
- onboardingSkill
- prSkill
- pullSkill
- pushSkill
- questSkill
- recordsSkill
- reflectSkill
- review-prSkill
- saveSkill
- slack-connectSkill
- summonSkill
- sync-reposSkill
- telegram-connectSkill
- telemetrySkill
- testSkill
- the-spiralSkill
- tui-designSkill
- tutorialSkill
- updateSkill
- viewSkill
- visual-explainSkill
- wrapSkill
- preview-designSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Use the supplied GitHub username as {provider_username}.
- Distinctive: line 41
Read the fields needed to render the receipt:
- Distinctive: line 47
Use each printed field as its correspondingly named placeholder below.
- Very specific: line 106
Write it to tmp/invite-message.md, make the file mode 0600, then run:
- Very specific: line 122
Use the printed values as {plan_id} and {digest}, respectively, for the notification Runtime's approve/cancel commands.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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
Egregore invite
Invite one future organization member through the Egregore Runtime. The GitHub username is a linked-provider alias used by today's access transport; it is not an Egregore account, actor, or membership identifier.
When to invoke
Invite someone to this Egregore — repository access plus a setup link when Connected. Use for /invite <username>, 'invite <username>', or 'add <username> to the org'; not member removal.
Input
Require one GitHub username. If it is missing, show and stop:
Usage: /invite <github-username>
Example: /invite newuserExecute
Use the supplied GitHub username as {provider_username}; quote placeholders
in single quotes when you use them in a command, and write any single quote
inside a value as '\''. Run exactly one invitation transaction and save its
JSON receipt:
mkdir -p tmpbash bin/invite.sh '{provider_username}' > tmp/invite-receipt.jsonRead the fields needed to render the receipt:
jq -r '{status, provider_username, org_name, provider_status, memory_status, invite_url, join_command, group_link, manual_access_url, warnings} | to_entries[] | "\(.key): \(.value)"' tmp/invite-receipt.jsonUse each printed field as its correspondingly named placeholder below.
The adapter resolves ActorContext, keeps AccountIdentity, ActorIdentity,
and OrgMembership separate, authorizes ADMINISTER before external effects,
and selects the current GitHub or Connected control-plane transport. It owns
credentials, repository grants, the provisional canonical invitation record,
path-scoped Git provenance, and sanitized error mapping. Do not call GitHub,
the Egregore API, graph, storage providers, or Git directly.
Connected service permission denials are authoritative. Explain that an
organization admin must invite the person and show manual_access_url when
the receipt contains one. Never infer permission from a GitHub username.
Render
For an accepted Connected invite with invite_url:
Inviting {provider_username} to {org_name}...
Repository access: {provider_status}
Memory access: {memory_status}
Invite link: created
Share this link with {provider_username}:
{invite_url}
They'll authenticate, accept the access invitation, and receive
the install command.For an accepted Local invite:
Invited {provider_username} to {org_name}.
Repository access: {provider_status}
Memory record: {memory_status}
Tell them to run:
{join_command}Append the returned group link when present. Render warnings truthfully and use the returned manual access URL for failed repository grants. Never show raw JSON, tokens, request bodies, or internal identity IDs.
Optional direct notification — separate consent
The invite action never authorizes a message. Only when a direct destination exists and the user wants Egregore to deliver the link, create a fresh actor-bound notification plan for this exact message:
You've been invited to {org_name} on Egregore! Join here: {invite_url-or-command}Write it to tmp/invite-message.md, make the file
mode 0600, then run:
chmod 600 tmp/invite-message.mdbash bin/notification.sh plan --kind send \
--recipient '{provider_username}' --message-file tmp/invite-message.md > tmp/invite-plan.jsonjq -r '.plan_id, .digest' tmp/invite-plan.jsonUse the printed values as {plan_id} and {digest}, respectively, for the
notification Runtime's approve/cancel commands. Read the preview fields:
jq -r '.org, .recipient, .channels, .deliveries, .message' tmp/invite-plan.jsonShow the exact organization, recipient, every channel, and message in a dedicated Send / Edit / Cancel checkpoint. Dispatch only after fresh exact approval using the notification Runtime's approve/dispatch commands. Never fall back from direct delivery to a group, reuse old approval, retry from a detached task, or treat sharing the invite link as notification consent.
Rules
- Local works without graph or Connected infrastructure.
- Connected preserves the existing seven-day setup-link behavior.
- An invite is provisional authority to create a future membership. Do not mint an AccountIdentity, ActorIdentity, or OrgMembership for the invitee.
- Existing onboarded profiles are never overwritten by an invitation stub.
- Notification consent and membership-invite authorization are separate.
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.

