Agent SkillsNeverSight/learn-skills.dev › secondme-skill

secondme-skill

GitHub

构建AI数字分身的全流程编排技能,涵盖数据摄取、身份提取、本地模型训练及发布治理。通过多阶段工作流管理状态与门禁,确保隐私安全与输出质量。

data/skills-md/acnlabs/openpersona/secondme-skill/SKILL.md NeverSight/learn-skills.dev

Trigger Scenarios

用户希望基于个人数据创建定制化AI助手 需要自动化执行从数据处理到模型训练的完整流水线

Install

npx skills add NeverSight/learn-skills.dev --skill secondme-skill -g -y
More Options

Non-standard path

npx skills add https://github.com/NeverSight/learn-skills.dev/tree/main/data/skills-md/acnlabs/openpersona/secondme-skill -g -y

Use without installing

npx skills use NeverSight/learn-skills.dev@secondme-skill

指定 Agent (Claude Code)

npx skills add NeverSight/learn-skills.dev --skill secondme-skill -a claude-code -g -y

安装 repo 全部 skill

npx skills add NeverSight/learn-skills.dev --all -g -y

预览 repo 内 skill

npx skills add NeverSight/learn-skills.dev --list

SKILL.md

Frontmatter
{
    "name": "secondme-skill",
    "license": "MIT",
    "metadata": {
        "author": "acnlabs",
        "version": "0.1.2"
    },
    "description": "A complete pipeline to build your AI Second Me: distill your identity from personal data, grow a private knowledge base, train a local model, and govern what gets shared.",
    "allowed-tools": "Read Write Edit Bash WebSearch",
    "compatibility": "OpenPersona\/OpenClaw\/Cursor, local-first with optional network interoperability."
}

secondme-skill

secondme-skill is a complete pipeline for building your AI Second Me — distill your identity from owned data, grow a private knowledge base, train a local model that speaks like you, and govern what gets shared. Local-first, privacy-first, fully yours.

This is an orchestration skill package. It does not replace lower-level capabilities.

Source of truth

  • Persona source declaration: persona.json
  • Pipeline runtime state: state/pipeline-state.json
  • Product and governance spec: references/product-report.md
  • Generated runtime pack: generated/persona-secondme-skill/
  • Regeneration script: scripts/regenerate-pack.sh

Dependency chain

  • Foundation: openpersona -> persona pack creation and lifecycle baseline
  • Orchestration: secondme-skill -> workflow gates, state, and report contracts
  • Capability chain:
    1. anyone-skill -> identity extraction and evidence grading
    2. persona-knowledge -> data ingestion, deduplication, wiki/KG, versioned export
    3. persona-model-trainer -> local training, evaluation, export, integration

Required execution policy

  • Use non-interactive generation and scripts where possible.
  • Keep local-first and least-privilege defaults.
  • Keep stage outputs auditable with version/hash references.
  • Treat persona-secondme-skill/ as generated output (read-only baseline).
  • When persona.json changes, regenerate the runtime pack before release.
  • Before publishing outside this repository, run scripts/publish-check.sh.
  • Preferred release check path: scripts/run-gates.sh (regenerate + sync + model gate + publish gate).

Stage contract

init

  • Validate toolchain and directories.
  • Initialize or load state/pipeline-state.json.

ingest

  • Ingest user-owned data with PII scanning.
  • Require explicit source authorization from user.

distill

  • Build structured persona extraction artifacts.
  • Ensure minimum persona input for OpenPersona is complete.

train

  • Route by hardware tier:
    • Apple Silicon: mlx
    • NVIDIA: unsloth
    • No local GPU: colab

eval

  • Check thresholds:
    • voice_score >= 3.5
    • probe_score >= 0.8
    • perplexity degradation <= 20% vs last viable version

integrate

  • Integrate model artifacts only when eval gate passes.
  • Require runtime pack persona model integration before marking stage pass.

report

  • Emit three reports under reports/data, reports/model, reports/deploy.
  • Keep report and deployment recommendation in blocked state if persona model gate fails.

Failure routing

  • Data gate fail -> return to ingest and request source expansion.
  • Train fail -> change backend or reduce model size.
  • Eval fail -> augment data or retune hyperparameters, then retrain.

Always update error_code, last_error, and retry_count in pipeline state before retry.

Human approval gates

Require explicit human approval for:

  • financial/legal commitments
  • account-changing write actions
  • external publishing/sharing of identity artifacts

Persona model gate

secondme requires trained persona model integration, not only host default model fallback.

Pass criteria:

  • generated/persona-secondme-skill/persona.json contains body.runtime.models.
  • body.runtime.models has at least one model entry.
  • scripts/check-model-integration.sh returns success.

If this gate fails, report must not be marked pass and deployment recommendation remains blocked.

Sync discipline

  1. Edit root persona.json and orchestration docs first.
  2. Run scripts/regenerate-pack.sh.
  3. Run scripts/check-sync.sh to validate root and generated pack alignment.
  4. Verify runtime pack path generated/persona-secondme-skill/ exists and updated.
  5. Only then produce release reports under reports/.

Version History

  • e0220ca Current 2026-07-05 23:00

Same Skill Collection

data/skills-md/00prabalk00/claude-skills/knowledge-base-gap-finder/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-agile/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-auth/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-issues/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-project-management/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-projects/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-safe/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-search/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-spaces/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-transitions/SKILL.md
data/skills-md/0731coderlee-sudo/wechat-publisher/wechat-publisher/SKILL.md
data/skills-md/0froq/skills/conventionalcommits/SKILL.md
data/skills-md/0froq/skills/nuxt/SKILL.md
data/skills-md/0froq/skills/oq/SKILL.md
data/skills-md/0froq/skills/pinia/SKILL.md
data/skills-md/0froq/skills/pnpm/SKILL.md
data/skills-md/0froq/skills/slidev/SKILL.md
data/skills-md/0froq/skills/tsdown/SKILL.md
data/skills-md/0froq/skills/turborepo/SKILL.md
data/skills-md/0froq/skills/unocss/SKILL.md
data/skills-md/0froq/skills/vitepress/SKILL.md
data/skills-md/0froq/skills/vitest/SKILL.md
data/skills-md/0froq/skills/vue-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-router-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-testing-best-practices/SKILL.md
data/skills-md/0froq/skills/vue/SKILL.md
data/skills-md/0froq/skills/vueuse-functions/SKILL.md
data/skills-md/0froq/skills/web-design-guidelines/SKILL.md
data/skills-md/0juano/agent-skills/bondterminal-x402/SKILL.md
data/skills-md/0juano/agent-skills/edgeone-pages-deploy/SKILL.md
data/skills-md/0juano/agent-skills/ley-ar/SKILL.md
data/skills-md/0juano/agent-skills/ticktick/SKILL.md
data/skills-md/0juano/agent-skills/x-image-cards/SKILL.md
data/skills-md/0juano/x-image-cards/x-image-cards/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/generate2dsprite/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/video2dsprite/SKILL.md
data/skills-md/0x2e/superpowers/brainstorming/SKILL.md
data/skills-md/0x2e/superpowers/dispatching-parallel-agents/SKILL.md
data/skills-md/0x2e/superpowers/executing-plans/SKILL.md
data/skills-md/0x2e/superpowers/finishing-a-development-branch/SKILL.md
data/skills-md/0x2e/superpowers/receiving-code-review/SKILL.md
data/skills-md/0x2e/superpowers/requesting-code-review/SKILL.md
data/skills-md/0x2e/superpowers/subagent-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/systematic-debugging/SKILL.md
data/skills-md/0x2e/superpowers/test-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/using-git-worktrees/SKILL.md
data/skills-md/0x2e/superpowers/using-superpowers/SKILL.md
data/skills-md/0x2e/superpowers/verification-before-completion/SKILL.md
data/skills-md/0x2e/superpowers/writing-plans/SKILL.md
data/skills-md/0x2e/superpowers/writing-skills/SKILL.md

Metadata

Files
0
Version
e4a0f95
Hash
0006f2da
Indexed
2026-07-05 23:00

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-05 06:22
浙ICP备14020137号-1 $방문자$