Skip to content

Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.

Update Basalt format: contact identity resolution + field catalog enrichment

Jezc4d32f78fbff
diff --git a/plugins/basalt/skills/basalt-cortex/references/basalt-format.md b/plugins/basalt/skills/basalt-cortex/references/basalt-format.md
index 5941a1c4..e2ba76c0 100644
--- a/plugins/basalt/skills/basalt-cortex/references/basalt-format.md
+++ b/plugins/basalt/skills/basalt-cortex/references/basalt-format.md
@@ -148,6 +148,10 @@ related: ["[[contacts/jane-smith]]"]
File: `contacts/{slug}.md`
+Contacts are the **identity resolution layer** — any system that needs to know "who is this person?" queries Basalt by any identifier (email, phone, chat ID, name) and gets the full profile. A single person may have multiple emails, phone numbers, businesses, and platform identities.
+
+### Simple contact (one email, one company):
+
```yaml
---
id: contact_jane-smith-smithholdings.com.au
@@ -163,8 +167,9 @@ summary: "Director at Smith Holdings. Primary contact for all web projects. Pref
visibility: private
name: Jane Smith
-phone: ~
+identifiers:
+ emails: [[email protected]]
+ phones: []
role: Director
company: Smith Holdings Pty Ltd
company_domain: smithholdings.com.au
@@ -178,6 +183,64 @@ related: ["[[clients/smithholdings.com.au]]"]
# Jane Smith
```
+### Complex contact (multiple identities, businesses, platforms):
+
+```yaml
+---
+id: contact_george-petridis
+type: contact
+created: 2026-03-09T11:49:00+11:00
+updated: 2026-03-09T11:49:00+11:00
+tags: [contact, multi-entity]
+aliases: [George Petridis, George Fuel]
+source: gmail
+source_id: ~
+source_url: ~
+summary: "Director of Pumping Records, Pumping Management, and Pumping Entertainment. Goes by 'George Fuel' as brand name. L2Chat chatbot deployed. Reported wrong phone number in chatbot."
+visibility: private
+
+name: George Petridis
+also_known_as: [George Fuel]
+identifiers:
+ google_chat: "users/105776807049217487682"
+ emails:
+ phones:
+ - "+61 414 232 794"
+ websites:
+ - pumpingrecords.com
+ - pumpingmanagement.com
+ - pumpingentertainment.com
+role: Director
+companies:
+ - name: Pumping Records
+ domain: pumpingrecords.com
+ - name: Pumping Management
+ domain: pumpingmanagement.com
+ - name: Pumping Entertainment
+ domain: pumpingentertainment.com
+first_seen: 2026-03-09
+last_seen: 2026-03-09
+thread_count: 1
+
+related: ["[[clients/pumpingrecords.com]]"]
+---
+
+# George Petridis
+```
+
+### Identity resolution rules
+
+- **`identifiers`** is the structured lookup block. Any system can query by email, phone, Google Chat ID, or website to find this person.
+- **`also_known_as`** captures brand names, nicknames, maiden names — anything someone might be known as that differs from `name`.
+- **`aliases`** (Obsidian-native) should include both `name` and `also_known_as` values for Obsidian search.
+- **`companies`** can be a single `company` + `company_domain` (simple) or an array of `{name, domain}` objects (multi-entity).
+- **Google Chat ID** (`identifiers.google_chat`) enables direct mapping from chat messages to contact profiles without needing the People API.
+- When mining, if you encounter a new email/phone for an existing contact, **update the existing file** rather than creating a duplicate.
+
---
## Type: `communication`
diff --git a/plugins/basalt/skills/basalt-cortex/references/field-catalog.md b/plugins/basalt/skills/basalt-cortex/references/field-catalog.md
index 300dc16c..4309577e 100644
--- a/plugins/basalt/skills/basalt-cortex/references/field-catalog.md
+++ b/plugins/basalt/skills/basalt-cortex/references/field-catalog.md
@@ -75,6 +75,8 @@ When extracting metadata from an email thread or chat conversation:
### People & Identity
+These fields appear on **communication** notes when identity details are discovered in a thread. They should ALSO trigger an update to the corresponding **contact** file's `identifiers` block — see basalt-format.md for the contact identity schema.
+
| Field | Type | When to add | Examples |
|-------|------|------------|---------|
| `real_name` | string | When display name differs from real name | "George Petridis" (display: "George Fuel") |
@@ -82,6 +84,9 @@ When extracting metadata from an email thread or chat conversation:
| `phone` | string | When phone numbers appear in content | "02 4954 6828", "+61 414 232 794" |
| `companies` | array | When multiple companies are involved | `["Verge Safety Barriers", "Uni-Fit", "Adenium"]` |
| `role_title` | string | When job title is mentioned | "Events & Placement Coordinator", "Director" |
+| `google_chat_id` | string | When a Google Chat user ID is present | "users/105776807049217487682" |
+| `additional_emails` | array | When signature reveals extra emails | `["[email protected]"]` |
+| `website` | string | When a personal/business URL is shared | "www.novapitstop.com.au/book-online" |
### Community & Networking