add-team-source

add-team-source is a skill for Claude Code from thettwe/nyann. It costs 171 tokens per session (752 once invoked), scanned A, original, MIT.

A workflow for registering a Git repository as a source of shared nyann team profiles. A profile is a reusable set of project rules and settings, and Git is the version-control system used to fetch them.

In plain words
What is it for?
Use it to add or update a team profile source, choose its branch or tag, and set how often nyann checks for changes.
Why use it?
It lets nyann periodically sync centrally maintained team profiles and make them available under a team namespace.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the nyann plugin — 41 skills, 41 commands, 3 hooks shipped together

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.

agentmods
npx agentmods add skills/thettwe/nyann/add-team-source
Any agent
npx skills add thettwe/nyann --skill add-team-source
Clone the repo
git clone --depth 1 https://github.com/thettwe/nyann

Made for: Claude Code.

Or install nyann, the plugin that ships this one along with the rest of its 41 skills, 41 commands, 3 hooks.

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 add-team-source

README.md
[![agentmods](https://agentmods.dev/badge/skills/thettwe/nyann/add-team-source.svg)](https://agentmods.dev/skills/thettwe/nyann/add-team-source)
Your own site
<a href="https://agentmods.dev/skills/thettwe/nyann/add-team-source"><img src="https://agentmods.dev/badge/skills/thettwe/nyann/add-team-source.svg" alt="Measured on agentmods" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00171 $0.00752
Opus 5 $0.00086 $0.00376
Sonnet 5 $0.00034 $0.00150
Haiku 4.5 $0.00017 $0.00075

Measured 6d ago against content hash c5059f8f7542, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

add-team-source 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 6d 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.

skills/add-team-source/SKILL.md · 76 lines

What it actually says

add-team-source

Wraps bin/add-team-source.sh. Updates ~/.claude/nyann/config.json to declare a new team-profile source. Idempotent — passing the same --name updates the entry in place.

1. Collect inputs

  • --name <id> — required. Short slug, ^[a-z0-9][a-z0-9-]*$. Will also become the namespace prefix for team profiles (e.g. platform-team/base when name is platform-team). When the user gives a name with spaces or caps, propose a slug and confirm.
  • --url <git-url> — required. Any URL git can clone (https://, git@, file:// for testing).
  • --ref <branch-or-tag> — default main. Override when the team pins a specific branch or tag.
  • --interval <hours> — default 24. How often sync-team-profiles will re-pull from this source without --force. Decrease only when the user says "we update these often" or similar.

2. Pre-flight

  • Config path defaults to ~/.claude/nyann/config.json. Override only when the user explicitly names a different user root.
  • The backend upserts on --name collision. Warn the user if they're replacing an existing source with a different URL — that's usually unintentional. Read current config first if unsure.

3. Invoke

bin/add-team-source.sh \
  --name <id> \
  --url <git-url> \
  [--ref <branch>] \
  [--interval <hours>] \
  [--user-root <dir>]

Exit 0 on success; config path is logged to stderr.

4. Report back

  • Name, URL, ref, interval.
  • Tell the user "Run /nyann:sync-team-profiles (or ask 'sync my team profiles') to actually pull them". add-team-source only registers — the pull is a separate operation on purpose (no surprise network calls here).

When to hand off

  • "Now pull them" → sync-team-profiles skill.
  • "Apply a team profile to this repo" → bootstrap-project with the namespaced profile name (e.g. platform-team/base).
  • "Show what the team profile does" → inspect-profile with the namespaced name.
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. 6d ago First seen · 76 lines · 171 tokens per session scan A c5059f8f7542

Subscribe to this mod's changes

add-team-source is a skill published in the GitHub repository thettwe/nyann (6 stars, last pushed 7d ago), licensed MIT. It adds 171 tokens to every session and 752 once invoked, about $0.0009 per session on Opus 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-08-31.

Related

Other skills, from other repositories

meta-tags-optimizer

Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…

nowork-studio/notfair-plugin · 91 tokens

google-ads-audit

Google Ads account audit and business context setup. Run this first — it gathers business information, analyzes account health, and saves context that all other ads skills reuse. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should…

nowork-studio/notfair-plugin · 114 tokens

sxo

Search Experience Optimization (SXO) — the bridge between SEO and UX/CRO. Audits the full journey from the SERP click to the on-page goal: SERP click-through factors (title/meta/rich results that win the click), then post-click experience signals that keep users and drive conversions — above-the-fold relevance and…

nowork-studio/notfair-plugin · 235 tokens

elixir-idioms

OTP/BEAM patterns and Elixir idioms — GenServer, Supervisor, Task, Registry, pattern matching, with chains, pipes. Use when designing processes or debugging BEAM issues.

oliver-kriska/claude-elixir-phoenix · 44 tokens

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens

security

Enforce Elixir/Phoenix security — auth, OAuth, sessions, CSRF, XSS, SQL injection, input validation, secrets. Use when editing auth files, login flows, RBAC, or API keys.

oliver-kriska/claude-elixir-phoenix · 47 tokens