OpenParable
Skip to content
← Back to skills

Invite

Apps & Automation
invite

Invite is an Agent Skill for apps & automation published in the egregore-labs/egregore repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Invite a GitHub user into this Egregore instance from Codex when the user invokes /invite or $invite, or asks to invite someone without exposing credentials.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/egregore-labs/egregore/blob/HEAD/.codex/skills/invite/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/invite, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Egregore Invite

Native Codex Egregore skill. Invite a GitHub username to the configured repos and, in connected mode, create the Egregore join link.

Flow

  1. Require a GitHub username. If missing, ask for it and stop.
  2. Read mode and config from egregore.json. Never print secrets from .env.
  3. Run credential-sensitive work in a single shell command that reads GITHUB_TOKEN and EGREGORE_API_KEY internally and only prints sanitized JSON.
  4. Connected mode:
    • POST to the configured Egregore invite API with the GitHub username, org, repo, slug, API key, and GitHub token.
    • Parse the response and show invite status, memory access status, and the returned invite URL.
    • Best-effort graph record with bin/graph.sh.
    • Best-effort direct notification with bin/notify.sh send only if a contact channel exists.
  5. Local mode:
    • Use GitHub API collaborator endpoints for the core repo, memory repo, and managed repos.
    • Create or update memory/people/{username}.md.
    • Commit and push memory.
    • Show the join command using npx -y create-egregore@latest join.
  6. If remote hosting is enabled, provision hosting best-effort in a detached command and include the status only when it succeeds.

Rules

  • Never expose tokens, request bodies containing tokens, or raw API JSON.
  • Only org admins can complete the connected invite flow; report API denial clearly and give the manual GitHub access URL.
  • Do not use Claude Code commands.