secondme-skill

secondme-skill is a skill for Claude Code, Codex from acnlabs/OpenPersona. It costs 40 tokens per session (936 once invoked), scanned A, original, MIT.

A workflow for building a private AI persona from your own data. It covers identity extraction, a personal knowledge base, local model training, and decisions about what information may be shared.

In plain words
What is it for?
Use it to extract identity information, build and update a personal knowledge base, train a local model, and manage sharing rules.
Why use it?
It organizes the work of creating an AI that reflects you while keeping the data and model under your control. It also separates the source information, generated files, and pipeline state.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/acnlabs/openpersona/secondme-skill
Any agent
npx skills add acnlabs/OpenPersona --skill secondme-skill
Clone the repo
git clone --depth 1 https://github.com/acnlabs/OpenPersona

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for secondme-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/acnlabs/openpersona/secondme-skill.svg)](https://agentmods.dev/skills/acnlabs/openpersona/secondme-skill)
Your own site
<a href="https://agentmods.dev/skills/acnlabs/openpersona/secondme-skill"><img src="https://agentmods.dev/badge/skills/acnlabs/openpersona/secondme-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 936 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00040 $0.00936
Opus 5 $0.00020 $0.00468
Sonnet 5 $0.00008 $0.00187
Haiku 4.5 $0.00004 $0.00094

Measured 5d ago against content hash 0006f2da6e5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

secondme-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (generated/persona-secondme-skill/scripts/memory.js, generated/persona-secondme-skill/scripts/state-sync.js, publish.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/secondme-skill/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 120 lines

Files

What ships with it

51 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 120 lines · 40 tokens per session scan A 0006f2da6e5f

Subscribe to this mod's changes

secondme-skill is a skill published in the GitHub repository acnlabs/OpenPersona (49 stars, last pushed 24d ago), licensed MIT. It adds 40 tokens to every session and 936 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

memory-consolidate

回合末或 master 说「记住」时,将 1–3 条可检索事实写入 memoryentries(memoryupsert),文件 MEMORY.md 仅保留纲领。.

zhinjs/zhin · 46 tokens

add-compact

Add /compact command for manual context compaction. Solves context rot in long sessions by forwarding the SDK's built-in /compact slash command. Main-group or trusted sender only.

sbusso/claudeclaw · 40 tokens

add-qmd

Add QMD (Query Markup Documents) as an advanced memory search backend. Upgrades the built-in grep-based memorysearch with hybrid BM25 + vector semantic search + LLM re-ranking. Fully local, no API keys needed. Triggers on "add qmd", "qmd memory", "semantic memory search", "upgrade memory".

sbusso/claudeclaw · 73 tokens

company-agent-infrastructure

Use when designing or building internal/company AI agents that need shared context across company systems, durable organizational memory across sessions or agents, user-scoped permissions, approvals, audit, or governed actions. Also use when deciding whether ordinary MCP tools, RAG, or local agent memory are enough…

lobu-ai/lobu · 70 tokens

lobu

Use Lobu MCP for shared, permission-aware company context, durable organizational memory, and governed actions. Trigger when the user asks what the organization knows, needs context from connected company systems, wants to preserve a durable fact or decision, or needs to discover and use Lobu SDK capabilities.

lobu-ai/lobu · 60 tokens

clawdi

Use Clawdi Cloud for missing user memory, past sessions, Project or Vault context, Clawdi share URLs, and connected-service fallback such as Gmail, GitHub, Notion, Drive, or Calendar. Prefer an authenticated official service CLI; otherwise choose a trusted direct MCP, safely installable official CLI, official API or…

Clawdi-AI/clawdi · 98 tokens