{"slug":"agent-contacts","title":"agent-contacts","summary":"AI agent contacts — add, list, remove MCP contacts. Use when someone gives an agent URL, or when you need to view/remove contacts.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-09-18T13:23:49.705546Z","repo":{"url":"https://github.com/aAAaqwq/AGI-Super-Team","stars":114,"forks":26,"license":"MIT","updatedAt":"2026-11-05T12:41:56Z"},"bodyHtml":"<hr>\n<h2>name: agent-contacts\ndescription: AI agent contacts — add, list, remove MCP contacts. Use when someone gives an agent URL, or when you need to view/remove contacts.\ndisable-model-invocation: true\nargument-hint: \"[add|list|remove] [url-or-name]\"\nallowed-tools: Read, Write, Bash, WebFetch</h2>\n<h1>Agent Contacts</h1>\n<blockquote>\n<p>Contact book for AI agents. Add an MCP address and your Claude Code can communicate with other agents.</p>\n</blockquote>\n<h2>When to use</h2>\n<ul>\n<li><code>/agent-contacts add &lt;url&gt;</code> — add a new contact</li>\n<li><code>/agent-contacts list</code> — show all contacts</li>\n<li><code>/agent-contacts remove &lt;name&gt;</code> — remove a contact</li>\n<li>When someone gives you an agent/bot URL</li>\n</ul>\n<h2>Paths</h2>\n<table>\n<thead>\n<tr>\n<th>What</th>\n<th>Path</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Contacts DB</td>\n<td><code>~/.claude/agent-contacts.json</code></td>\n</tr>\n</tbody>\n</table>\n<h2>contacts.json format</h2>\n<pre><code>[\n  {\n    \"name\": \"Your Name\",\n    \"slug\": \"ivan-schedule\",\n    \"mcp_url\": \"https://your-agent.example.com/mcp/\",\n    \"discovery_url\": \"https://your-agent.example.com/.well-known/agent.json\",\n    \"capabilities\": [\"scheduling\"],\n    \"description\": \"Scheduling agent for Your Name\",\n    \"added\": \"2026-02-26\"\n  }\n]\n</code></pre>\n<h2>How to execute</h2>\n<p>Parse <code>$ARGUMENTS</code> to determine the command: first word is the command (<code>add</code>, <code>list</code>, <code>remove</code>), the rest is the argument.</p>\n<h3>Add: <code>/agent-contacts add &lt;url&gt;</code></h3>\n<pre><code>import json, re\nfrom datetime import date\nfrom pathlib import Path\n\nCONTACTS_FILE = Path.home() / \".claude\" / \"agent-contacts.json\"\n\n# 1. Load existing contacts\nif CONTACTS_FILE.exists():\n    contacts = json.loads(CONTACTS_FILE.read_text())\nelse:\n    contacts = []\n\n# 2. Normalize URL — $ARGUMENTS[1] is the URL\nurl = \"$1\".strip().rstrip(\"/\")\nif not url.endswith(\"agent.json\"):\n    discovery_url = url + \"/.well-known/agent.json\"\nelse:\n    discovery_url = url\n    url = url.rsplit(\"/.well-known/agent.json\", 1)[0]\n\n# 3. Use WebFetch to get agent.json content, then parse:\n# - name = agent_data[\"name\"]\n# - description = agent_data.get(\"description\", \"\")\n# - capabilities = list(agent_data.get(\"capabilities\", {}).keys())\n# - mcp_url = agent_data[\"capabilities\"][first_cap][\"url\"]\n#   Ensure mcp_url ends with \"/\"\n\n# 4. Generate slug\nslug = re.sub(r\"[^a-z0-9-]\", \"\", name.lower().replace(\" \", \"-\"))\n\n# 5. Check for duplicates\nif any(c[\"slug\"] == slug for c in contacts):\n    print(f\"Contact '{name}' already exists.\")\nelse:\n    contacts.append({\n        \"name\": name,\n        \"slug\": slug,\n        \"mcp_url\": mcp_url,\n        \"discovery_url\": discovery_url,\n        \"capabilities\": capabilities,\n        \"description\": description,\n        \"added\": str(date.today()),\n    })\n    CONTACTS_FILE.write_text(json.dumps(contacts, indent=2, ensure_ascii=False))\n</code></pre>\n<p>After saving to JSON, run:</p>\n<pre><code>claude mcp add &lt;slug&gt; --transport http &lt;mcp_url&gt;\n</code></pre>\n<p>Notify: \"Contact <code>&lt;name&gt;</code> added. Restart Claude Code session to use their tools.\"</p>\n<h3>List: <code>/agent-contacts list</code></h3>\n<pre><code>import json\nfrom pathlib import Path\n\nCONTACTS_FILE = Path.home() / \".claude\" / \"agent-contacts.json\"\n\nif not CONTACTS_FILE.exists():\n    print(\"No agent contacts yet. Use '/agent-contacts add &lt;url&gt;' to add one.\")\nelse:\n    contacts = json.loads(CONTACTS_FILE.read_text())\n    if not contacts:\n        print(\"No agent contacts yet.\")\n    else:\n        for i, c in enumerate(contacts, 1):\n            caps = \", \".join(c.get(\"capabilities\", []))\n            print(f\"  {i}. {c['name']} ({c['slug']})\")\n            print(f\"     MCP: {c['mcp_url']}\")\n            print(f\"     Capabilities: {caps}\")\n            print()\n</code></pre>\n<h3>Remove: <code>/agent-contacts remove &lt;name-or-slug&gt;</code></h3>\n<pre><code>import json\nfrom pathlib import Path\n\nCONTACTS_FILE = Path.home() / \".claude\" / \"agent-contacts.json\"\ntarget = \"$1\".strip().lower()  # name or slug\n\ncontacts = json.loads(CONTACTS_FILE.read_text())\nmatch = [c for c in contacts if c[\"slug\"] == target or c[\"name\"].lower() == target]\n\nif not match:\n    print(f\"Contact '{target}' not found.\")\nelse:\n    slug = match[0][\"slug\"]\n    name = match[0][\"name\"]\n    contacts = [c for c in contacts if c[\"slug\"] != slug]\n    CONTACTS_FILE.write_text(json.dumps(contacts, indent=2, ensure_ascii=False))\n</code></pre>\n<p>After removing from JSON, run:</p>\n<pre><code>claude mcp remove &lt;slug&gt;\n</code></pre>\n<p>Notify: \"Contact <code>&lt;name&gt;</code> removed.\"</p>\n<h2>How to share your address with others</h2>\n<p>Simply send the link:</p>\n<pre><code>https://your-agent.example.com/.well-known/agent.json\n</code></pre>\n<p>If the person has this skill:</p>\n<pre><code>/agent-contacts add https://your-agent.example.com\n</code></pre>\n<p>If they don't have the skill -- one command:</p>\n<pre><code>claude mcp add ivan-schedule --transport http https://your-agent.example.com/mcp/\n</code></pre>\n<h2>Important</h2>\n<ul>\n<li><code>agent-contacts.json</code> is created automatically on the first <code>add</code></li>\n<li>Slug must be unique (used as MCP server name in Claude Code)</li>\n<li>MCP URL must end with <code>/</code> (trailing slash)</li>\n<li>After <code>add</code>, a <strong>new session</strong> of Claude Code is required for MCP tools to become available</li>\n<li>This skill has side effects (<code>claude mcp add/remove</code>), hence <code>disable-model-invocation: true</code></li>\n</ul>\n<h2>Related skills</h2>\n<ul>\n<li><code>deploy-website</code> — deploy page with instructions for new contacts</li>\n</ul>\n","files":[{"path":"SKILL.md","sizeBytes":5011,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-09-18T13:24:15.724873Z","sha256":"060FBDE7728C2693257362114BAE257171A3AD6273E6B1ABE467F1AD0BD2F89A","sizeBytes":2025},"review":null,"source":{"repositoryUrl":"https://github.com/aAAaqwq/AGI-Super-Team","path":"skills/agent-contacts","license":"MIT","commit":"8e7ac34a9b13fa4cff96a61fdfa1b5ce4632a256","subtreeSha":"4226DA99BE6E410FAC40B5A6140BC04C60F69EEF71DA18EC2FAA06EB4D304410","lastSyncedAt":"2026-11-05T21:45:13.818465Z"},"reviewedAt":"2026-09-18T13:25:22.590924Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/aAAaqwq/AGI-Super-Team/tree/main/skills/agent-contacts"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install aaaaqwq-agi-super-team@llmmart"},{"target":"git","command":"git clone https://github.com/aAAaqwq/AGI-Super-Team.git"}]}