Token导航 LogoToken导航

Agent Skill · 研究检索

infer-tracking-plan(推断跟踪计划)

infer-tracking-plan 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

infer-tracking-plan 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 55,093。

总安装 490周安装 20GitHub Stars 公开资料未说明下载 157核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:infer-tracking-plan(推断跟踪计划)
来源仓库:https://github.com/infer-events/skills
仓库路径:skills/infer-tracking-plan
安装命令:
npx skills add https://github.com/infer-events/skills --skill infer-tracking-plan
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/infer-events/skills --skill infer-tracking-plan

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。通过 npx skills add 命令从指定仓库安装,需确认权限和维护状态。使用前建议核验具体用法,避免触发联网或文件读写操作。涉及敏感数据时应先确认脱敏边界和命令执行范围。

来源仓库内路径:skills/infer-tracking-plan

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/infer-events/skills --skill infer-tracking-pla…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

infer-tracking-plan 怎么安装?

在终端执行 npx skills add https://github.com/infer-events/skills --skill infer-tracking-plan。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

infer-tracking-plan 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

infer-tracking-plan 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

infer-tracking-plan 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

infer-tracking-plan 用的人多吗?

公开数据是累计安装 490 次,近一周安装 20 次,下载 157 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

infer-tracking-plan 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
infer-tracking-plan

推断跟踪计划 · 本页

490—调用外部服务未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Infer Tracking Plan — Codebase-Driven Event Discovery

Update Check (non-blocking)

Run this at the start. Checks for newer Infer versions using a 6-hour cache:

_INFER_CACHE=~/.infer/last-update-check.json
_NEEDS_CHECK="yes"
if [ -f "$_INFER_CACHE" ]; then
  _CACHE_AGE=$(( $(date +%s) - $(stat -f '%m' "$_INFER_CACHE" 2>/dev/null || stat -c '%Y' "$_INFER_CACHE" 2>/dev/null || echo 0) ))
  [ "$_CACHE_AGE" -lt 21600 ] && _NEEDS_CHECK="no"
fi
if [ "$_NEEDS_CHECK" = "yes" ]; then
  _SDK_LATEST=$(npm view @inferevents/sdk version 2>/dev/null || echo "unknown")
  _MCP_LATEST=$(npm view @inferevents/mcp version 2>/dev/null || echo "unknown")
  _SDK_INSTALLED=$(node -e "try{console.log(require('@inferevents/sdk/package.json').version)}catch{console.log('none')}" 2>/dev/null || echo "none")
  mkdir -p ~/.infer
  echo "{\"checked\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\",\"sdk_latest\":\"$_SDK_LATEST\",\"mcp_latest\":\"$_MCP_LATEST\",\"sdk_installed\":\"$_SDK_INSTALLED\"}" > "$_INFER_CACHE"
  echo "INFER_SDK_INSTALLED=$_SDK_INSTALLED INFER_SDK_LATEST=$_SDK_LATEST INFER_MCP_LATEST=$_MCP_LATEST"
else
  cat "$_INFER_CACHE"
  echo "INFER_CHECK=cached"
fi

If installed SDK version differs from latest, append at the END of your response: Infer update available — run /infer-upgrade to get the latest. Do NOT block the workflow. Continue normally.

You are building a tracking plan by reading the actual codebase, not guessing. The goal: propose specific track() calls at specific file:line locations, named by what they mean to the business, and get user approval before touching code.

The Process

Phase 1: Understand the Product (read before proposing)

Before suggesting a single event, you need to understand what this app does.

Read these files in order:

  1. package.json — what framework, what dependencies, what's the app about
  2. README.md or any docs — product description, user flows
  3. CLAUDE.md — project context, if it exists
  4. Root layout/entry point — app structure, navigation, auth
  5. Route/page structure — ls src/app/ or ls src/pages/ or equivalent

Answer these questions before proceeding:

  • What does this app do? (1 sentence)
  • Who is the user? (1 sentence)
  • What is the core value action? (the ONE thing users come here to do)
  • What is the activation moment? (when a new user first gets value)
  • What would make a user come back tomorrow?

If you can't answer these from the code, ask the user.

Phase 2: Map the User Journey

Read the codebase to map the complete user journey. For each stage, identify the files where that stage happens.

ENTRY → ACTIVATION → CORE ACTION → ENGAGEMENT → RETENTION TRIGGER

Entry stage: How do users arrive?

  • Read auth/signup flows, landing routes, onboarding components
  • Look for: registration forms, OAuth handlers, invite acceptance

Activation stage: When does a user first get value?

  • Read the onboarding flow, first-run experience
  • Look for: setup wizards, profile creation, first content creation

Core action stage: What's the main thing users do?

  • Read the primary feature components and API routes
  • Look for: CRUD operations, search, generation, submission

Engagement stage: What keeps users active?

  • Read secondary features, social features, notification handlers
  • Look for: sharing, collaboration, export, integrations

Retention triggers: What brings users back?

  • Read notification systems, scheduled jobs, email triggers
  • Look for: reminders, digests, new content alerts

Phase 3: Deep Dive — Read the Actual Code

For each stage identified above, read the specific files.

What to look for:

In API routes / server actions:

  • Successful mutations (POST/PUT/DELETE handlers that return 200)
  • These are the most reliable tracking points — they represent completed actions

In form components:

  • onSubmit handlers — track form completion, not form views
  • Distinguish between form start and form completion if the form is multi-step

In AI/LLM tool definitions:

  • Tool call handlers — each tool invocation is a feature usage event
  • Tool results — successful completions vs errors

In State changes:

  • Zustand/Redux actions that represent user decisions
  • React Query mutations that represent completed operations

In Navigation:

  • Key page transitions that represent intent (pricing page = considering upgrade)
  • Auto-tracked by the SDK, but some need custom names

What NOT to track:

  • Every button click (auto-tracked already)
  • Every page view (auto-tracked already)
  • Internal state transitions users don't initiate
  • Debug/dev-only actions
  • Reads/views without action (passive browsing is covered by auto-track)

Phase 4: Build the Tracking Plan

For each proposed event, document:

FieldDescription
Event namesnake_case, business-meaningful (not technical)
FileExact file path
LocationFunction/handler name or line context
Categoryactivation / engagement / monetization / referral / noise
PropertiesWhat data to include (key: type)
WhyWhy this event matters for analytics

Event naming rules:

  • Use noun_verbed format: resume_uploaded, job_searched, letter_generated
  • NOT click_upload_button or api_post_resume (too technical)
  • NOT event_1 or track_signup (too generic)
  • The name should make sense in the sentence: "How many users [event_name] last week?"

Property rules:

  • Include identifying properties: which item, which type, which category
  • Do NOT include PII: no emails, names, phone numbers
  • Do NOT include high-cardinality strings: no free text, no full URLs
  • Do include enums: plan type, role, category, status

Phase 5: Present for Approval

Present the tracking plan as a numbered table:

## Tracking Plan: [App Name]

**Product:** [1-sentence description]
**Core value action:** [what users come here to do]
**Activation moment:** [when new users first get value]

### Proposed Events

| # | Event | Category | File | Properties | Why |
|---|-------|----------|------|------------|-----|
| 1 | signup_completed | entry | src/app/api/auth/route.ts | method: string | Funnel start, measures acquisition |
| 2 | profile_created | activation | src/lib/actions/profile.ts | has_photo: bool | Activation milestone |
| 3 | project_created | core | src/lib/actions/project.ts | type: string | Core value delivery |
| ... | ... | ... | ... | ... | ... |

### Already auto-tracked (no code needed)
- page_view (all navigation)
- session_start (new sessions)
- click (interactive elements)
- form_submit (form submissions)
- error (JS exceptions)

### Funnel this enables
signup → [activation event] → [core action] → [engagement] → return visit
With these events, you can answer:
- "What's my signup-to-activation conversion?"
- "Which users are most engaged?"
- "Where do users drop off?"

Then you MUST call the AskUserQuestion tool for approval. Use AskUserQuestion:

Which events should I add to your codebase? 💡 Tip: 5-10 custom events is the sweet spot. More creates noise, fewer leaves blind spots.

Options:

  • A) Add all events — Implement all N proposed track() calls
  • B) Let me pick — I'll tell you which ones by number (e.g. 1,2,5)
  • C) Modify the plan first — I want to rename events, change properties, or add new ones
  • D) Skip for now — Save the plan but don't add any tracking yet

Phase 6: Implement Approved Events

For each approved event, add the track() call.

Ask before each file change: "Adding [event_name] to [file]. OK?"

Implementation patterns:

For API route handlers (server-side, need client-side tracking):

  • Don't track on the server. Track on the client after a successful API response.
  • Find the component that calls this API and add track() in the success handler.

For form submissions:

import { track } from "@/lib/analytics";

// In the onSubmit handler, AFTER successful submission:
track("form_completed", { form: "signup", method: "email" });

For AI tool calls:

import { track } from "@/lib/analytics";

// After the tool returns a successful result:
track("tool_used", { tool: "search_jobs", results_count: results.length });

For state changes:

import { track } from "@/lib/analytics";

// After the state mutation succeeds:
track("status_changed", { from: "draft", to: "published" });

When adding track() calls, include the category hint as the third argument:

track("signup_completed", { method: "email" }, { category: "activation" });
track("project_created", { type: "blank" }, { category: "engagement" });
track("plan_upgraded", { plan: "pro" }, { category: "monetization" });
track("invite_sent", { role: "editor" }, { category: "referral" });

This auto-classifies events in the ontology on first ingestion.

Add identify() at the auth boundary: Find where the app resolves the current user (after login, after OAuth callback, after session restore). Add:

identify(user.id, { plan: user.plan, role: user.role });

Add reset() at logout:

import { reset } from "@/lib/analytics";
// In the logout handler:
reset();

Phase 7: Summary

After implementing, show what was added:

## Tracking Plan Implemented

Added [N] events across [M] files:
✓ signup_completed (src/components/auth/signup-form.tsx)
✓ resume_uploaded (src/components/chat/chat-input.tsx)
✓ job_searched (src/lib/ai/tools.ts)
✗ job_applied (skipped by user)

Funnel: signup → resume_uploaded → job_searched → job_matched → application_tracked

To see your data:
- "What events are being tracked?" → get_top_events
- "What's my signup-to-search conversion?" → get_event_counts for each step
- "Show me retention" → get_retention

After implementation, you MUST call the AskUserQuestion tool.

Role-aware: PM → funnel visibility. Growth → conversion tracking. Founder → PMF signals. Engineer → verification.

Use AskUserQuestion:

Tracking is live. What do you want to do next? 💡 Tip: Events need a few hours to accumulate. Set up daily monitoring now and check back tomorrow for real insights.

Options:

  • A) Check if events are flowing — Verify the SDK is sending data correctly
  • B) See my first insights — Run /infer-insights to see what the data shows
  • C) Set up daily monitoring — Schedule automatic health checks with /schedule
  • D) View the full funnel — See conversion rates from signup through your core action

Important Rules

  1. Read the code first. Never propose events from guessing. Every suggestion must reference a specific file and function you actually read.
  2. Business names, not technical names. resume_uploaded not post_api_upload. The name should be readable by a non-engineer.
  3. Approval before implementation. Present the full plan. Get explicit approval. Never add track() calls without permission.
  4. Don't over-track. 5-10 custom events is plenty for an MVP. More is noise. Focus on the funnel: entry → activation → core → engagement.
  5. Properties are minimal. 2-4 properties per event max. No PII. No free text. Enums and IDs only.
  6. Auto-track handles the basics. Don't manually track page views or clicks. That's what autoTrack: true does. Custom events are for business-meaningful actions.

平台分布

Codex

32.4%
按下载量换算51

Claude

30.43%
按下载量换算48

Cursor

20.39%
按下载量换算32

Gemini CLI

8.98%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills