← 返回
未分类 中文

secondme-skill

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...
完整的流程,帮你构建AI第二自我:从个人数据中提炼身份,建立私有知识库,训练本地模型,并治理……
neiljo-gy neiljo-gy 来源
未分类 clawhub v0.1.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 367
下载
💾 0
安装
1
版本
#latest

概述

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/.

版本历史

共 1 个版本

  • v0.1.2 当前
    2026-05-07 07:28 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,518 📥 574,421
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,164 📥 935,911
business-ops

AgentBooks

neiljo-gy
AI代理财务管理。追踪LLM推理成本,记录确认收入,管理多提供商加密钱包,并计算财务健康度。
★ 0 📥 998