跳到正文
cccskills
免费在 GitHub 公开

invite

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.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore星标 293(GitHub 293 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md4.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 newuser

Execute

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 tmp
bash bin/invite.sh '{provider_username}' > tmp/invite-receipt.json

Read 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.json

Use 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.md
bash bin/notification.sh plan --kind send \
  --recipient '{provider_username}' --message-file tmp/invite-message.md > tmp/invite-plan.json
jq -r '.plan_id, .digest' tmp/invite-plan.json

Use 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.json

Show 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

activity

免费

Explicit Activity card only. Use when the user names /activity or directly asks to show, open, or render the Activity dashboard/card. Never use it to answer or synthesize what the team is focused on, busy with, prioritizing, or doing; analytical organizational questions use Search/Runtime QMD.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

announce

免费

Draft, preview, and explicitly send an Egregore group announcement. Use for /announce, telling the team something, or notifying everyone—not a direct message or structured handoff.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

archive

免费

Capture an effective prompting or steering technique as a reusable canonical pattern. Use when a prompt chain worked especially well; use /reflect for insight about the work and /note for a private thought.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

branch

免费

Create a working branch from what you are about to work on. Use for /branch, or any request to start a new branch before making changes.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

checkup

免费

Run diagnostics on an Egregore environment and render a health report, repairing safe local Runtime problems when possible. Use for /checkup, a health check, or when something is broken and the root cause is unclear.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

commit

免费

Stage changes and create a commit with a properly formatted message. Use for /commit, or saving work locally — not sharing it (/push) or opening a pull request (/pr).

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

查看 egregore-labs 的全部技能

报告此技能的问题