Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

selftuneselftune 搜索

Agent Skill

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

总安装

267

周安装

11

GitHub Stars

11

下载量

87
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/welldundun/selftune --skill selftune

简介

用于查找、检索和筛选相关信息,支持根据关键词快速定位候选结果。

  • 适合在需要任务场景或来源线索进行信息筛选时使用。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装方式:通过 npx skills add 命令从指定 GitHub 仓库添加。
  • 注意权限范围和维护状态,确认是否会触发联网、命令执行或文件读写。

SKILL.md

selftune

Observe real agent sessions, detect missed triggers, grade execution quality, and evolve skill descriptions toward the language real users actually use.

You are the operator. The user installed this skill so YOU can manage their skill health autonomously. They will say things like "set up selftune", "improve my skills", or "how are my skills doing?" — and you route to the correct workflow below. The user does not run CLI commands directly; you do.

Why this matters

Skills are only useful when they trigger at the right time with the right instructions. But user language drifts — the phrases people use to ask for help rarely match the trigger keywords a skill author imagined. selftune closes this gap by observing real sessions, finding where skills fail to activate or execute poorly, and rewriting descriptions to match actual usage patterns. The result: skills that get better over time without manual tuning.

Communicating with the user

Users range from experienced developers who'll say "evolve the pptx description using the latest eval set" to non-technical users who'll say "make my skills better". Pay attention to context cues:

  • If they use terms like "eval set", "routing table", "JSONL" — match their precision
  • If they say "improve my skills" or "how's it going" — explain what you're doing in plain language, summarize results, and suggest next steps
  • When in doubt, briefly explain what a command does before running it

Bootstrap

If ~/.selftune/config.json does not exist, read Workflows/Initialize.md first. The CLI must be installed (selftune on PATH) before other commands will work. Do not proceed with other commands until initialization is complete.

Command Execution Policy

selftune <command> [options]

Commands vary in output format. selftune orchestrate, selftune watch, and selftune evolve --dry-run emit structured JSON on stdout. selftune status, selftune last, and selftune doctor print human-readable text or structured JSON depending on the command. For alpha/bootstrap and health remediation, prefer machine-readable guidance.next_command or top-level next_command when present instead of inferring the next step from prose. selftune dashboard starts a local SPA server — it does not emit data.

Quick Reference

# Ingest group
selftune ingest claude   [--since DATE] [--dry-run] [--force] [--verbose]
selftune ingest codex                                                          # (experimental)
selftune ingest opencode                                                       # (experimental)
selftune ingest openclaw [--agents-dir PATH] [--since DATE] [--dry-run] [--force] [--verbose]  # (experimental)
selftune ingest pi       [--sessions-dir PATH] [--since DATE] [--dry-run] [--force] [--verbose]  # (experimental)
selftune ingest wrap-codex -- <codex args>                                     # (experimental)

# Grade group
selftune grade auto      --skill <name> [--expectations "..."] [--agent <name>]
selftune grade baseline  --skill <name> --skill-path <path> [--eval-set <path>] [--agent <name>]

# Evolve group
selftune evolve          --skill <name> --skill-path <path> [--dry-run]
selftune evolve body     --skill <name> --skill-path <path> --target <body|routing> [--dry-run]
selftune evolve rollback --skill <name> --skill-path <path> [--proposal-id <id>]

# Eval group
selftune eval generate      --skill <name> [--list-skills] [--stats] [--max N] [--seed N] [--output PATH]
selftune eval unit-test      --skill <name> --tests <path> [--run-agent] [--generate]
selftune eval import         --dir <path> --skill <name> --output <path> [--match-strategy exact|fuzzy]
selftune eval composability  --skill <name> [--window N] [--telemetry-log <path>]
selftune eval family-overlap --prefix <family-> | --skills <a,b,c> [--parent-skill <name>] [--min-overlap 0.3] [--min-shared 2]

# Other commands
selftune watch    --skill <name> --skill-path <path> [--auto-rollback]
selftune status
selftune last
selftune doctor
selftune dashboard [--port <port>] [--no-open]
selftune contributions [status|preview <skill>|upload [--dry-run]|approve <skill>|revoke <skill>|default <ask|always|never>|reset]
selftune creator-contributions [status|enable --skill <name>|enable --all [--prefix <value>]|disable --skill <name>]
selftune contribute [--skill NAME] [--preview] [--sanitize LEVEL] [--submit]
selftune cron setup [--dry-run]                         # auto-detect platform (cron/launchd/systemd)
selftune cron setup --platform openclaw [--dry-run] [--tz <timezone>]  # OpenClaw-specific
selftune cron list
selftune cron remove [--dry-run]
selftune telemetry [status|enable|disable]
selftune export    [TABLE...] [--output/-o DIR] [--since DATE]

# Autonomous loop
selftune orchestrate [--dry-run] [--review-required] [--auto-approve] [--skill NAME] [--max-skills N] [--recent-window HOURS] [--sync-force] [--max-auto-grade N] [--loop] [--loop-interval SECS]
selftune sync        [--since DATE] [--dry-run] [--force] [--no-claude] [--no-codex] [--no-opencode] [--no-openclaw] [--no-pi] [--no-repair] [--json]

# Discovery + badges
selftune workflows   [--skill NAME] [--skill-path PATH] [--min-occurrences N] [--window N] [--json] [save --skill NAME --skill-path PATH]
selftune badge       --skill <name> [--format svg|markdown|url] [--output PATH]

# Maintenance
selftune quickstart
selftune repair-skill-usage [--since DATE] [--dry-run]
selftune recover            [--full] [--force] [--since DATE]
selftune export-canonical   [--out FILE] [--platform NAME] [--record-kind KIND] [--pretty] [--push-payload]
selftune uninstall          [--dry-run] [--keep-logs] [--npm-uninstall]

# Hook dispatch (for debugging/manual invocation)
selftune hook <name>   # prompt-log | session-stop | skill-eval | auto-activate | skill-change-guard | evolution-guard

# Platform hooks (non-Claude-Code agents)
selftune codex hook
selftune codex install    [--dry-run] [--uninstall]
selftune opencode hook
selftune opencode install [--dry-run] [--uninstall]
selftune cline hook
selftune cline install    [--dry-run] [--uninstall]
selftune pi hook
selftune pi install       [--dry-run] [--uninstall]

# Registry (team skill distribution)
selftune registry push [name]      [--version=<semver>] [--summary=<text>]
selftune registry install <name>   [--global]
selftune registry sync
selftune registry status
selftune registry rollback <name>  [--to=<version>] [--reason=<text>]
selftune registry history <name>
selftune registry list

# Alpha enrollment (device-code flow — browser opens automatically)
selftune init --alpha --alpha-email <email>
selftune alpha upload [--dry-run]
selftune alpha relink
selftune status                                                        # shows cloud link state + upload readiness

Workflow Routing

Trigger keywordsWorkflowFile
grade, score, evaluate, assess session, auto-gradeGradeWorkflows/Grade.md
evals, eval set, undertriggering, skill stats, eval generateEvalsWorkflows/Evals.md
evolve, improve, optimize skills, make skills better, triggers, catch more queriesEvolveWorkflows/Evolve.md
evolve body, evolve routing, full body evolution, rewrite skill, teacher studentEvolveBodyWorkflows/EvolveBody.md
evolve rollback, undo, restore, revert evolution, go back, undo last changeRollbackWorkflows/Rollback.md
watch, monitor, regression, post-deploy, keep an eye onWatchWorkflows/Watch.md
doctor, health, hooks, broken, diagnose, not working, something wrongDoctorWorkflows/Doctor.md
ingest, import, codex logs, opencode, openclaw, pi, wrap codexIngestWorkflows/Ingest.md
replay, backfill, claude transcripts, historical sessionsReplayWorkflows/Replay.md
contributions, sharing preferences, opt in creator sharing, opt out creator sharing, approve contributions, revoke contributions, preview contributions, upload contributions, relay queue, contribution upload, contribution previewContributionsWorkflows/Contributions.md
creator contributions, bundle contribution config, selftune.contribute.json, enable creator contribution, disable creator contribution, bulk enable creator contribution, enable all creator contributions, creator prefix config, --all, --prefixCreatorContributionsWorkflows/CreatorContributions.md
contribute, share, community, export data, anonymized, give backContributeWorkflows/Contribute.md
init, setup, set up, bootstrap, first time, install, configure selftune, alpha, enroll, alpha enrollment, cloud link, upload credentialInitializeWorkflows/Initialize.md
cron, schedule, automate evolution, run automaticallyCronWorkflows/Cron.md
auto-activate, suggestions, activation rules, nag, why suggestAutoActivationWorkflows/AutoActivation.md
dashboard, visual, open dashboard, show dashboard, serve dashboard, live dashboardDashboardWorkflows/Dashboard.md
evolution memory, session continuity, what happened lastEvolutionMemoryWorkflows/EvolutionMemory.md
grade baseline, baseline lift, adds value, skill value, no-skill comparisonBaselineWorkflows/Baseline.md
eval unit-test, skill test, test skill, generate tests, run testsUnitTestWorkflows/UnitTest.md
eval composability, co-occurrence, skill conflicts, skills together, family overlap, sibling confusion, consolidate skill familyComposabilityWorkflows/Composability.md
eval import, skillsbench, external evals, benchmark tasksImportSkillsBenchWorkflows/ImportSkillsBench.md
telemetry, analytics, disable analytics, opt out, tracking, privacyTelemetryWorkflows/Telemetry.md
orchestrate, autonomous, full loop, improve all skills, run selftune loopOrchestrateWorkflows/Orchestrate.md
sync, refresh, source truth, rescan sessionsSyncWorkflows/Sync.md
badge, readme badge, skill badge, health badgeBadgeWorkflows/Badge.md
workflows, discover workflows, list workflows, multi-skill workflowsWorkflowsWorkflows/Workflows.md
alpha upload, upload data, send alpha data, manual upload, dry run uploadAlphaUploadWorkflows/AlphaUpload.md
recover, rebuild sqlite, recover db, legacy backfill, restore from export snapshotRecoverWorkflows/Recover.md
quickstart, getting started, onboard, first time setup, new userQuickstartWorkflows/Quickstart.md
uninstall, remove selftune, clean up, teardownUninstallWorkflows/Uninstall.md
repair, rebuild usage, fix skill usage, trustworthy usage, repair-skill-usageRepairSkillUsageWorkflows/RepairSkillUsage.md
export canonical, canonical export, canonical telemetry, push payloadExportCanonicalWorkflows/ExportCanonical.md
hook, run hook, invoke hook, manual hook, debug hookHookWorkflows/Hook.md
codex hooks, codex install, codex setup, opencode hooks, opencode install, opencode setup, cline hooks, cline install, cline setup, pi hooks, pi install, pi setup, multi-platform, platform hooks, non-claude hooks, multiple agents, multi-agentPlatformHooksWorkflows/PlatformHooks.md
registry, distribute, push skill, install skill, sync skills, team skills, version control skills, rollback skillRegistryWorkflows/Registry.md
export, dump, jsonl, export sqlite, debug exportExport*(direct command — no workflow file)*
status, health summary, skill health, how are skills, skills doing, run selftuneStatus*(direct command — no workflow file)*
last, last session, recent session, what happened, what changedLast*(direct command — no workflow file)*

Workflows Grade, Evolve, Watch, and Ingest also run autonomously via selftune orchestrate.

Interactive Configuration

Before running mutating workflows (evolve, evolve-body, evals, baseline), consult references/interactive-config.md for the pre-flight configuration pattern, model tier reference, and quick-path rules.

The Feedback Loop

The core idea: observe how users actually talk, find where skills miss, propose better descriptions, validate them, and deploy — with automatic rollback if things get worse. Every step produces evidence so you can explain *why* a change was made.

Observe --> Detect --> Diagnose --> Propose --> Validate --> Audit --> Deploy --> Watch --> Rollback
   |                                                                    |
   +--------------------------------------------------------------------+
  1. Observe — Hooks capture every session (queries, triggers, metrics)
  2. Detectselftune eval generate extracts missed-trigger patterns
  3. Diagnoseselftune grade evaluates session quality with evidence
  4. Proposeselftune evolve generates description improvements
  5. Validate — Evolution is tested against the eval set before deploying
  6. Audit — Persist proposal, evidence, and decision metadata for traceability
  7. Deploy — Updated description replaces the original (backup kept)
  8. Watchselftune watch monitors for regressions post-deploy
  9. Rollbackselftune evolve rollback restores previous version if needed

Specialized Agents

selftune bundles focused agents in agents/. When you need deeper analysis, read the relevant agent file and follow its instructions — either inline or by spawning a subagent with those instructions as its prompt.

On Claude Code, selftune init also syncs compatibility copies into ~/.claude/agents/ so native --agent <name> calls keep matching these bundled definitions.

Treat these as worker-style subagents:

  • pass the required inputs from the parent agent
  • expect a structured report back
  • do not have them question the user directly unless you explicitly want that
Trigger keywordsAgent fileWhen to use
diagnose, root cause, why failing, debug performanceagents/diagnosis-analyst.mdWhen one skill has recurring low grades, regressions, or unclear failures after basic doctor/status review
patterns, conflicts, cross-skill, overlap, optimize skillsagents/pattern-analyst.mdWhen multiple skills may overlap, misroute, or interfere, especially after composability flags conflict
review evolution, check proposal, safe to deployagents/evolution-reviewer.mdBefore deploying a dry-run or pending proposal, especially for high-stakes skills or marginal improvements
set up selftune, integrate, configure projectagents/integration-guide.mdFor complex setup and verification work in monorepos, multi-skill repos, or mixed-platform environments

Examples

Scenario 1: First-time setup

User says: "Set up selftune" or "Install selftune"

Actions:

  1. Read Workflows/Initialize.md
  2. Run selftune init to bootstrap config (hooks are installed automatically)
  3. Run selftune doctor to verify

Result: Config at ~/.selftune/config.json, hooks active, ready for session capture.

Scenario 2: Improve a skill

User says: "Make the pptx skill catch more queries" or "Evolve the Research skill"

Actions:

  1. selftune eval generate --skill pptx to find missed triggers
  2. selftune evolve --skill pptx --skill-path <path> to propose changes
  3. selftune watch --skill pptx --skill-path <path> to monitor post-deploy

Result: Skill description updated to match real user language, with rollback available.

Scenario 3: Check skill health

User says: "How are my skills doing?" or "Run selftune"

Actions:

  1. selftune status for overall health summary
  2. selftune last for most recent session insight
  3. selftune doctor if issues detected

Result: Pass rates, trend data, and actionable recommendations.

Scenario 4: Autonomous operation

User says: "Set up cron jobs" or "Run selftune automatically"

Actions:

  1. selftune cron setup to install OS-level scheduling
  2. Orchestrate loop runs: ingest → grade → evolve → watch

Result: Skills improve continuously without manual intervention.

Troubleshooting

CLI not found

Error: command not found: selftune

Cause: CLI not installed or not on PATH.

Solution:

  1. Run npm install -g selftune or check bin/selftune.cjs exists
  2. Verify with which selftune
  3. If using bun: bun link in the repo root

No sessions to grade

Error: selftune grade returns empty results.

Cause: Hooks not capturing sessions, or no sessions since last ingest.

Solution:

  1. Run selftune doctor to verify hook installation
  2. Run selftune ingest claude --force to re-ingest
  3. Check ~/.claude/ for telemetry JSONL files

Evolution proposes no changes

Cause: Eval set too small or skill already well-tuned.

Solution:

  1. Run selftune eval generate --skill <name> --max 50 for a larger eval set
  2. Check selftune status — if pass rate is >90%, evolution may not be needed
  3. Try selftune evolve body for deeper structural changes

Dashboard won't serve

Error: Port already in use or blank page.

Solution:

  1. Try a different port: selftune dashboard --port 3142
  2. Check if another process holds the port: lsof -i:3141
  3. Use --no-open to start the server without opening a browser

Negative Examples

These should NOT trigger selftune — note that several are near-misses that share keywords but need different solutions:

  • "Fix this React hydration bug" — general debugging, not skill improvement
  • "Create a PowerPoint about Q3 results" — this is pptx skill, not selftune
  • "Run my unit tests" — project tests, not skill eval tests (even though selftune has "eval unit-test", this is about *project* tests)
  • "How do I use the Research skill?" — skill *usage*, not skill *improvement* (route to the Research skill itself)
  • "Generate a report from this data" — content generation, not skill evolution
  • "My build is failing" — project issue, not selftune health issue (even though "failing" overlaps with skill diagnostics language)
  • "Evaluate this code for security issues" — "evaluate" here means code review, not session grading
  • "Improve this function's performance" — code optimization, not skill optimization (even though "improve" and "performance" are selftune keywords)

The key distinction: selftune is about improving *skills themselves* (their descriptions, triggers, and execution quality). If the user is trying to accomplish a task *using* a skill, route to that skill instead.

Resource Index

ResourcePurposeWhen to read
SKILL.mdThis file — routing, triggers, quick referenceAlways loaded
Workflows/*.mdStep-by-step instructions for each workflowWhen routing to a workflow
agents/diagnosis-analyst.mdDeep-dive skill failure analysisSpawn when doctor/grades show persistent issues
agents/pattern-analyst.mdCross-skill conflict detectionSpawn when composability flags conflicts
agents/evolution-reviewer.mdSafety gate for evolution proposalsSpawn before deploying high-stakes evolutions
agents/integration-guide.mdGuided setup for complex projectsSpawn for monorepos, multi-skill setups
Workflows/Quickstart.mdGuided onboarding: init, ingest, statusFirst-time setup for new users
Workflows/Uninstall.mdClean removal of selftune data and configWhen removing selftune completely
Workflows/RepairSkillUsage.mdRebuild skill usage from source transcriptsWhen skill usage data seems inaccurate
Workflows/Recover.mdRecover SQLite from legacy/exported JSONLWhen rebuilding or backfilling SQLite
Workflows/Contributions.mdManage creator-directed sharing preferencesWhen approving or revoking creator contribution
Workflows/CreatorContributions.mdManage bundled selftune.contribute.json configsWhen preparing a skill package for creator contributions
Workflows/ExportCanonical.mdExport canonical telemetry for downstream useWhen exporting data for external consumption
Workflows/Hook.mdManual hook invocation for debuggingWhen debugging or testing hooks manually
Workflows/PlatformHooks.mdNon-Claude-Code platform hook install/configWhen setting up Codex, OpenCode, Cline, or Pi hooks
references/logs.mdLog file formats (telemetry, usage, queries, audit)When parsing or debugging log files
references/grading-methodology.md3-tier grading model, evidence standardsWhen grading sessions or interpreting grades
references/invocation-taxonomy.md4 invocation types, coverage analysisWhen analyzing trigger coverage
references/interactive-config.mdPre-flight config pattern, model tiersBefore running mutating workflows
references/setup-patterns.mdPlatform-specific setup patternsDuring complex setup scenarios
Workflows/Registry.mdRegistry — team skill distribution commandsWhen routing to registry workflow
settings_snippet.jsonClaude Code hook configuration templateDuring initialization
assets/*.jsonConfig templates (activation rules, settings)During initialization

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.13%
按下载量换算32

Claude

29.76%
按下载量换算26

Cursor

19.91%
按下载量换算17

Gemini CLI

8.98%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills