entity-lookup
Skill4 starsChanged 7 months agoMITView on GitHub
Look up user profiles by identity field and value. Use when the user wants to find or look up a specific user profile by email, user ID, or other identity field.
- Sends data out
In this repository22 other files it gives its agents.
- account-syncSkill
- audience-advisorSkill
- audience-builderSkill
- audience-snapshotSkill
- campaign-flow-builderSkill
- connection-managerSkill
- data-health-monitorSkill
- export-debuggerSkill
- filterql-builderSkill
- flow-managerSkill
- integration-advisorSkill
- integration-setupSkill
- job-managerSkill
- lytics-agentSkill
- profile-explorerSkill
- profile-investigatorSkill
- schema-discoverySkill
- schema-managerSkill
- schema-optimizerSkill
- segment-managerSkill
- stream-inspectorSkill
- webhook-template-builderSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Look up individual user profiles by identity field.
- Very specific: line 67
Check GET /v2/schema/{table}/idconfig for account-specific identity fields
- Distinctive: line 73
Identity: All identity fields and values
- Distinctive: line 79
Use the confirmation-gate pattern.
- Distinctive: line 86
Multiple matches: If multiple profiles match, present all and ask user to select
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Entity Lookup
Purpose
Look up individual user profiles by identity field. Returns the full profile including all fields, segment memberships, and metadata.
Environment
Requires authenticated API access. See ../references/auth.md for credential resolution.
API Endpoints
V2 Identity Lookup
curl -s "${LYTICS_API_URL:-https://api.lytics.io}/v2/identity/${TABLE}/${FIELD}/${VALUE}" \
-H "Authorization: ${LYTICS_API_TOKEN}"Example: GET /v2/identity/user/email/user@example.com
Data API Entity Lookup
curl -s "${LYTICS_API_URL:-https://api.lytics.io}/api/entity/${TABLE}/${FIELD}/${VALUE}" \
-H "Authorization: ${LYTICS_API_TOKEN}"Entity Lookup by Value Only
curl -s "${LYTICS_API_URL:-https://api.lytics.io}/api/entity/${TABLE}/${VALUE}" \
-H "Authorization: ${LYTICS_API_TOKEN}"Searches across all identity fields.
Entity Segment Memberships
curl -s "${LYTICS_API_URL:-https://api.lytics.io}/api/entity/${TABLE}/segments/${FIELD}/${VALUE}" \
-H "Authorization: ${LYTICS_API_TOKEN}"Identity Lookup (POST)
curl -s -X POST "${LYTICS_API_URL:-https://api.lytics.io}/v2/identity/lookup" \
-H "Authorization: ${LYTICS_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"field": "email", "value": "user@example.com", "table": "user"}'Delete Entity
# Hard delete
curl -s -X DELETE "${LYTICS_API_URL:-https://api.lytics.io}/api/entity/${TABLE}/${FIELD}/${VALUE}" \
-H "Authorization: ${LYTICS_API_TOKEN}"
# Soft delete
curl -s -X DELETE "${LYTICS_API_URL:-https://api.lytics.io}/api/entity/softdelete/${TABLE}/${FIELD}/${VALUE}" \
-H "Authorization: ${LYTICS_API_TOKEN}"Common Identity Fields
email-- Email address_uid-- Lytics user IDuser_id-- External user ID- Check
GET /v2/schema/{table}/idconfigfor account-specific identity fields
Behavior
For Lookups (read)
Execute immediately. Display the profile in a structured format:
- Identity: All identity fields and values
- Key attributes: High-value profile fields (name, location, engagement scores)
- Segment memberships: Which segments this user belongs to
- Recent activity: Latest event timestamps
For Deletes (write)
Use the confirmation-gate pattern. Warn that:
- Hard deletes are irreversible
- Soft deletes can be undone but affect data processing
Error Handling
- Profile not found (404): Suggest trying different identity fields or checking spelling
- URL encoding: URL-encode the value if it contains special characters (e.g.,
@in emails) - Multiple matches: If multiple profiles match, present all and ask user to select
Dependencies
- Uses:
../references/auth.md,../references/api-client.md,../references/confirmation-gate.md(for deletes only)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

