CtrlK
BlogDocsLog inGet started
Tessl Logo

segment-automation

Automate Segment tasks via Rube MCP (Composio): track events, identify users, manage groups, page views, aliases, batch operations. Always search tools first for current schemas.

51

Quality

56%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/segment-automation/SKILL.md

The canonical home for this skill is segment-automation in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

42%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The skill provides reasonable coverage of Segment operations with clear tool names and parameter listings, but suffers from significant repetition (especially around identity requirements and pitfalls) and lacks executable examples showing actual tool invocation payloads. Batch operations need explicit validation/retry workflows, and the document would benefit from consolidation to reduce its token footprint.

Suggestions

Eliminate repeated pitfalls (e.g., 'userId or anonymousId required' appears 4+ times) by consolidating shared requirements into a single 'Common Requirements' section.

Add at least one concrete, copy-paste-ready tool invocation example showing the exact JSON payload structure for SEGMENT_TRACK and SEGMENT_BATCH calls.

Add explicit validation and retry steps for batch operations: check response for individual message errors, collect failed messages, and re-submit.

Remove explanations of concepts Claude already knows (ISO 8601 format definition, what snake_case means, that APIs process asynchronously) to reduce token usage.

DimensionReasoningScore

Conciseness

Significant verbosity throughout. Many pitfalls and parameters are repeated across sections (e.g., 'at least one of userId or anonymousId is required' appears 4 times). The 'Known Pitfalls' section largely duplicates pitfalls already listed under each workflow. Claude already knows ISO 8601 format, what snake_case is, and basic API concepts like async processing.

2 / 5

Actionability

Tool names and parameter lists are concrete, but there are no executable code examples or actual tool invocation syntax showing exact JSON payloads. The 'Common Patterns' sections use pseudocode-style numbered lists rather than actual tool call examples. The guidance tells Claude what to do but doesn't show exactly how to format the calls.

3 / 5

Workflow Clarity

The setup sequence is clear, and the user lifecycle pattern provides a good logical flow. However, batch operations lack explicit validation/verification steps — there's no feedback loop for checking batch response errors and retrying failed messages. For batch/bulk operations, the rubric caps this at 3 without validation steps.

3 / 5

Progressive Disclosure

The content is structured with clear sections and a quick reference table, which helps navigation. However, at ~180 lines with substantial repetition, much of the per-workflow pitfalls and parameter details could be consolidated or moved to separate reference files. No bundle files exist to offload detailed content, and the document is somewhat monolithic.

3 / 5

Total

11

/

20

Passed

Description

70%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description does a good job listing specific Segment-related capabilities and uses distinctive terminology that clearly identifies its niche. However, it lacks an explicit 'Use when...' clause, which is critical for Claude to know when to select this skill. Adding trigger guidance and a few more natural user-facing terms would strengthen it.

Suggestions

Add an explicit 'Use when...' clause, e.g., 'Use when the user asks about Segment analytics, tracking user events, or managing customer data via Composio.'

Include additional natural trigger terms users might say, such as 'analytics', 'user tracking', 'customer data platform', or 'CDP'.

DimensionReasoningScore

Specificity

Lists several specific actions: track events, identify users, manage groups, page views, aliases, batch operations. These are concrete capabilities, though some like 'manage groups' could be more detailed.

4 / 5

Completeness

Has a clear 'what' (automate Segment tasks with specific actions listed) but lacks an explicit 'when' clause. The description doesn't include a 'Use when...' statement, which caps this at 3 per the rubric guidelines.

3 / 5

Trigger Term Quality

Includes good natural keywords like 'Segment', 'track events', 'identify users', 'page views', 'aliases', 'batch operations', and 'Composio'. Missing some synonyms or variations users might say (e.g., 'analytics', 'user tracking', 'customer data platform').

4 / 5

Distinctiveness Conflict Risk

Highly distinctive with specific mentions of 'Segment', 'Rube MCP', and 'Composio' as well as Segment-specific terminology like 'track events', 'identify users', 'aliases'. Very unlikely to conflict with other skills.

5 / 5

Total

16

/

20

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.