mastermind-invites

mastermind-invites is a skill for Claude Code, Codex from monoes/monomind. It costs 39 tokens per session (2,588 once invoked), scanned A, original, Apache-2.0.

A bookkeeping tool for creating, copying, listing and revoking organisation invitations and for handling join requests. Its records are stored separately and do not grant access by themselves.

In plain words
What is it for?
Use it to create invitation links, assign recorded roles, revoke invitations and approve or reject human or agent join requests.
Why use it?
It makes invitations and requests easier to manage while making clear that the runtime does not enforce them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to create invitation links, assign recorded roles, revoke invitations and approve or reject human or agent join requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monoes/monomind/mastermind-invites
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add monoes/monomind --skill mastermind-invites
Clone the repo
git clone --depth 1 https://github.com/monoes/monomind

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mastermind-invites

README.md
[![agentmods](https://agentmods.dev/badge/skills/monoes/monomind/mastermind-invites/github.svg)](https://agentmods.dev/skills/monoes/monomind/mastermind-invites)
Your own site
<a href="https://agentmods.dev/skills/monoes/monomind/mastermind-invites"><img src="https://agentmods.dev/badge/skills/monoes/monomind/mastermind-invites/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mastermind-invites

Your own site · 80×15
<a href="https://agentmods.dev/skills/monoes/monomind/mastermind-invites"><img src="https://agentmods.dev/badge/skills/monoes/monomind/mastermind-invites.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,588 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.02588
Opus 5.5 $0.00016 $0.01035
Sonnet 5.5 $0.00008 $0.00518
Haiku 4.5 $0.00004 $0.00259

Measured 2d ago against content hash 3ce6dbe28780, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mastermind-invites scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/mastermind-invites/SKILL.md · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mastermind Invites

This skill is invoked directly via /mastermind-invites.

Bookkeeping only — not enforced by the Org Runtime. It writes .monomind/orgs/<org>-members.json, which no runtime code reads: invites, members, and approved join requests grant no access to anything.


Inputs

  • brain_context: BRAIN CONTEXT block (injected by command, or loaded below if standalone)
  • org_name: org to manage invites for (required)
  • action: list | create | revoke | copy-url | join-queue | approve-join | reject-join
  • role: owner | admin | operator | viewer (for create; default: operator)
  • invite_id: invite id/token (for revoke/copy-url)
  • request_id: join request id (for approve-join/reject-join)
  • request_type: all | human | agent (for join-queue; default: all)
  • status_filter: pending_approval | approved | rejected (for join-queue; default: pending_approval)
  • caller: command | master

Invite Roles

Role Can Do
owner Full control — all permissions
admin Create agents, invite users, assign tasks, approve joins, manage environments
operator Assign tasks, run routines
viewer Read-only access

Step 0 — Brain Load (standalone only)

If caller is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: ops.


Step 1 — Load Members File

orgFile=".monomind/orgs/${org_name}.json"
[ ! -f "$orgFile" ] && { echo "ERROR: Org '${org_name}' not found."; exit 1; }

membersFile=".monomind/orgs/${org_name}-members.json"
[ ! -f "$membersFile" ] && echo '{"members":[],"join_requests":[]}' > "$membersFile"

Step 2 — Execute Action

list (default)

Show invite history and member count:

echo "INVITES — org: $org_name"
echo "────────────────────────────────────────────────────────"

# Active invites (pending in join_requests with type=invite)
activeInvites=$(jq '[(.join_requests // [])[] | select(.type == "invite" and .status == "pending")] | length' "$membersFile")
totalMembers=$(jq '.members | length' "$membersFile")
pendingJoins=$(jq '[(.join_requests // [])[] | select(.type != "invite" and .status == "pending_approval")] | length' "$membersFile")

echo "  Members:          $totalMembers"
echo "  Pending invites:  $activeInvites"
echo "  Pending joins:    $pendingJoins"
echo ""

if [ "$activeInvites" -gt 0 ]; then
  echo "ACTIVE INVITES"
  printf "  %-28s %-10s %-20s %s\n" "TOKEN" "ROLE" "CREATED" "URL"
  echo "  ────────────────────────────────────────────────────────"
  jq -r '(.join_requests // [])[] | select(.type == "invite" and .status == "pending") |
    [.token, (.role // "operator"), (.createdAt // "-"), (.inviteUrl // "-")] | @tsv' \
    "$membersFile" | while IFS=$'\t' read -r tok role ts url; do
    printf "  %-28s %-10s %-20s %s\n" "${tok:0:24}…" "$role" "$ts" "${url:0:40}…"
  done
fi

echo ""
echo "  To create a new invite: --action create --role <role>"
[ "$pendingJoins" -gt 0 ] && echo "  To review join requests: --action join-queue"

Read the full file on GitHub · 258 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 258 lines · 39 tokens per session scan A 3ce6dbe28780

Subscribe to this mod's changes

mastermind-invites is a skill published in the GitHub repository monoes/monomind (23 stars, last pushed 2d ago), licensed Apache-2.0. It adds 39 tokens to every session and 2,588 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

Other skills, from other repositories

agent-swarm-issue

Agent skill for swarm-issue - invoke with $agent-swarm-issue.

ruvnet/ruflo · 21 tokens

agent-user-tools

Agent skill for user-tools - invoke with $agent-user-tools.

ruvnet/ruflo · 16 tokens

queue-handoff

Use when ending a turn, finishing a slice, blocked on another agent's work, or escalating to a human — durable work handoff via queue items so the system keeps moving across compactions, missed messages, and interruptions. Covers the hot-potato terminal-turn-rule (active work ends by passing the ball, not by going…

mvschwarz/openrig · 94 tokens

diag-harness

Kernel-version skew check (ADR-027). Reports manifest surface + manifest kernel + installed kernel + verdict (match/patch-diff/minor-diff/major-diff). Exits 1 on minor/major skew with a copy-pasteable npm install @metaharness/[email protected] next step. Exits 2 if no .harness/manifest.json at path.

ruvnet/metaharness · 85 tokens

score-harness

5-dimension scorecard (0-100, grade A/B/C/F) for a scaffolded harness. Dimensions: Repo understanding (25%), Agent usefulness (25%), MCP safety (20%), Test coverage (15%), Publish readiness (15%). Emits a 6-field badges block (score + mcpRisk + 4 booleans) ready for the harness README. Exit 0 A/B, 1 C, 2 F.

ruvnet/metaharness · 0 tokens

verify-witness

Verify the Ed25519 witness manifest of a scaffolded harness. Fast yes/no signature check that proves the publisher signed this exact file set — separate from the full release-readiness umbrella in validate-harness.

ruvnet/metaharness · 45 tokens