ashlr-team-invite

ashlr-team-invite is a command for Claude Code from ashlrai/ashlr-plugin. It costs 27 tokens per session (466 once invoked), scanned A, original, MIT.

A command that sends an email invitation to an ashlr team, using either the member or admin role.

In plain words
What is it for?
Use it to invite teammates by email. Team admins can choose the admin role; other invitations use the member role by default.
Why use it?
It avoids manually constructing an authenticated API request and handles common sign-in and permission errors.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ashlr plugin — 11 skills, 36 commands, 5 agents, 7 hooks, 1 MCP server shipped together

Good fit Use it to invite teammates by email. Team admins can choose the admin role; other invitations use the member role by default.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ashlrai/ashlr-plugin/ashlr-team-invite
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.

Clone the repo
git clone --depth 1 https://github.com/ashlrai/ashlr-plugin

Made for: Claude Code.

Or install ashlr, the plugin that ships this one along with the rest of its 11 skills, 36 commands, 5 agents, 7 hooks, 1 MCP server.

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 ashlr-team-invite

README.md
[![agentmods](https://agentmods.dev/badge/commands/ashlrai/ashlr-plugin/ashlr-team-invite.svg)](https://agentmods.dev/commands/ashlrai/ashlr-plugin/ashlr-team-invite)
Your own site
<a href="https://agentmods.dev/commands/ashlrai/ashlr-plugin/ashlr-team-invite"><img src="https://agentmods.dev/badge/commands/ashlrai/ashlr-plugin/ashlr-team-invite.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00027 $0.00466
Opus 5 $0.00014 $0.00233
Sonnet 5 $0.00005 $0.00093
Haiku 4.5 $0.00003 $0.00047

Measured 7d ago against content hash 5e9a2ca7aee8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ashlr-team-invite scanned grade A with 1 finding 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 7d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS -X POST "${ASHLR_API_URL:-https://api.ashlr.ai}/team/invite" \
commands/ashlr-team-invite.md · 48 lines

What it actually says

Invite a new member to the caller's team.

Usage: The user invokes this skill with an email, optionally followed by admin or member (default: member):

/ashlr-team-invite [email protected]
/ashlr-team-invite [email protected] admin

Steps:

  1. If the first non-flag argument is missing or doesn't look like an email (no @), reply:

    "Usage: /ashlr-team-invite <email> [admin|member]"

    and stop.

  2. Resolve the API base URL (default https://api.ashlr.ai, override with ASHLR_API_URL), and the API token:

    TOKEN="${ASHLR_PRO_TOKEN:-$(cat ~/.ashlr/pro-token 2>/dev/null)}"
    [ -z "$TOKEN" ] && { echo "Not signed in. Run /ashlr-upgrade first."; exit 1; }
    
  3. POST the invite:

    curl -sS -X POST "${ASHLR_API_URL:-https://api.ashlr.ai}/team/invite" \
      -H "Authorization: Bearer $TOKEN" \
      -H "Content-Type: application/json" \
      -d '{"email":"<EMAIL>","role":"<ROLE>"}'
    
  4. Interpret the response:

    • HTTP 200 → print ✓ invite sent to <email>. Expires in 7 days.
    • HTTP 403 with {"error":"Admin role required."} → print ✗ You must be a team admin to invite members.
    • HTTP 404 with {"error":"Not a team member."} → print ✗ You're not on a team yet. Create one with POST /team/create first.
    • Any other error → print the server's error field verbatim.
  5. Print no preamble. Print no trailing summary. Just the one-line outcome.

No other commands. No branching beyond the four response cases above.

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. 7d ago First seen · 48 lines · 27 tokens per session scan A 5e9a2ca7aee8

Subscribe to this mod's changes

ashlr-team-invite is a command published in the GitHub repository ashlrai/ashlr-plugin (3 stars, last pushed 7d ago), licensed MIT. It adds 27 tokens to every session and 466 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.