agentleFS
lyticslytics/agent-skills/profile-explorer/SKILL.md

profile-explorer

Skill4 starsChanged 7 months agoMITView on GitHub

Interactive profile exploration combining lookup, segments, and event history. Use when the user wants to explore a user profile, view segment memberships, or browse event history for an identity.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After presenting the summary, the user can:

    line 68
  2. Distinctive:

    If the user doesn't have a specific identity:

    line 76
  3. Distinctive:

    Ask what they're looking for

    line 77

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Profile Explorer

Purpose

Interactive profile exploration that combines identity lookup, segment membership analysis, and event history browsing. Provides a comprehensive view of an individual user profile.

Environment

Requires authenticated API access. See ../references/auth.md for credential resolution.

Inputs

  • Identity field and value (e.g., email, user@example.com)
  • Or: exploration query (e.g., "find a user in the high-value segment")

Exploration Flow

Step 1: Look Up Profile

Use entity-lookup skill:

curl -s "${LYTICS_API_URL:-https://api.lytics.io}/api/entity/user/${FIELD}/${VALUE}" \
  -H "Authorization: ${LYTICS_API_TOKEN}"

Step 2: Get Segment Memberships

curl -s "${LYTICS_API_URL:-https://api.lytics.io}/api/entity/user/segments/${FIELD}/${VALUE}" \
  -H "Authorization: ${LYTICS_API_TOKEN}"

Step 3: Present Profile Summary

Display a structured profile view:

## Profile: user@example.com

### Identity
- email: user@example.com
- user_id: 12345
- _uid: abc-def-ghi

### Key Attributes
- Name: Jane Smith
- Country: US
- City: Portland, OR
- Created: 2024-01-15
- Last Active: 2025-03-18

### Engagement
- Visit Count: 47
- Avg Visit Time: 3.2 min
- Content Affinity: Technology, Marketing

### Segment Memberships
- High Value Customers (segment)
- Email Subscribers (aspect)
- Q1 Campaign Target (list)

### Recent Events
[Summary from stream data if available]

Step 4: Interactive Exploration

After presenting the summary, the user can:

  • "What segments is this user in?" -> Show detailed segment list
  • "Show me their purchase history" -> Look up relevant fields
  • "Compare with another user" -> Look up second profile
  • "Why are they in segment X?" -> Cross-reference segment FilterQL with profile data

Finding Users

If the user doesn't have a specific identity:

  1. Ask what they're looking for
  2. Suggest searching by segment: list segment members using segment scan
  3. Help them identify the right profile

Error Handling

  • Profile not found: Try alternative identity fields, suggest checking spelling
  • Multiple identities: Show all linked identities, confirm which profile
  • Large profile: Summarize key fields, offer to show full details on request

Dependencies

  • Composes: entity-lookup skill, segment-manager skill, stream-inspector skill
  • References: ../references/auth.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.