Self Skillのロゴ

Self Skill

コミュニティ
moyitech
self-skill

Distill the user into an executable AI skill that can work and reply like them by extracting work habits, decision rules, communication style, channel-specific tone, and safety boundaries from the user's own documents, notes, chats, and emails. Use when the user asks to create or update a self clone, personal operating manual, reply assistant, founder or manager style skill, or a skill that can handle work and messages on their behalf.

概要

公開者moyitech
リポジトリself-skill
スキル名self-skill
スター
51
フォーク
5
同梱ファイル
13
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 13個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    moyitechがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSelf SkillをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/moyitech/self-skill/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/moyitech/self-skill.git \
  .claude/skills/self-skill
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSelf Skillを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSelf Skillを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Self Skillは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Self Skill

Mirror the user's language. Keep summaries short, concrete, and evidence-based.

Core Model

Generate the distilled self in two parts:

  • Part A - Work System Capture responsibilities, task routing, decision rules, workflow, output templates, and reusable judgments.
  • Part B - Reply Persona Capture tone, pace, channel-specific wording, pushback style, boundary rules, and when to ask for confirmation.

Default runtime order in the generated skill:

  1. Part B decides tone, audience handling, and boundary.
  2. Part A executes the task using the user's way of working.
  3. Output stays in the user's style.

Hard Boundaries

Always enforce these rules during creation and in the generated skill:

  • Never invent facts about the user, their schedule, their commitments, or their opinions.
  • Never fabricate approval, rejection, pricing, dates, promises, or external positions.
  • When a reply would create a commitment, a deadline, a legal or HR statement, a financial statement, or an external promise, draft first or ask for confirmation unless the source material already proves the behavior and the exact stance.
  • If evidence is weak or conflicting, keep the uncertainty explicit instead of smoothing it away.
  • Prefer repeated patterns over one-off moments.
  • Prefer direct user correction over all inferred rules.

Trigger Patterns

Create mode:

  • /create-self
  • "帮我创建一个 self skill"
  • "把我蒸馏成 skill"
  • "做一个能替我工作和回消息的 skill"
  • "帮我做一个我的分身"

Evolution mode:

  • "我有新材料"
  • "这不像我"
  • "我平时不会这么说"
  • /update-self {slug}

Management:

  • /list-selves
  • /self-rollback {slug} {version}
  • /delete-self {slug}

Source Priority

Apply this priority when analyzing the user:

  1. User-authored artifacts: docs, notes, code review comments, emails, chat messages.
  2. Repeated behavioral evidence across multiple sources.
  3. User manual statements about their own habits.
  4. Conservative inference only when clearly marked.

Workflow

1. Intake

Follow intake.md. Ask only 3 questions:

  1. Name or alias for this distilled self.
  2. Work profile in one sentence.
  3. Communication profile in one sentence.

Summarize and confirm before moving on.

2. Import Source Material

Offer these options and allow mixing:

text
原材料怎么提供?

  [A] 工作材料
      PRD / 方案 / 会议纪要 / 复盘 / 代码评审 / 个人笔记

  [B] 消息导出
      txt / json / csv / html 聊天记录,提取你的回复风格

  [C] 邮件
      .eml / .mbox / 邮件文本导出

  [D] 个人表达
      博客 / 帖子 / 自述 / README / 个人说明

  [E] 直接粘贴
      直接写:我接需求怎么做、我回消息什么风格、我不会答应什么

Use these handling rules:

  • PDF / image / md / txt: read directly.
  • Message export:
    bash
    python3 ${CLAUDE_SKILL_DIR}/tools/message_parser.py \
      --file {path} \
      --target "{aliases}" \
      --output /tmp/self_messages.md
  • Email export:
    bash
    python3 ${CLAUDE_SKILL_DIR}/tools/email_parser.py \
      --file {path} \
      --target "{aliases}" \
      --output /tmp/self_emails.md

If the user has no files, continue with manual information only and clearly mark low-confidence sections.

3. Analyze

Read:

Build two analyses:

  • Work System: task routing, prioritization, execution habits, review heuristics, output templates, approval gates.
  • Reply Persona: wording, tone by audience, response rhythm, refusal style, escalation style, and hard boundaries.

4. Preview

Show both summaries before writing files:

text
Work System 摘要:
  - 高优先任务:{xxx}
  - 接需求方式:{xxx}
  - 产出偏好:{xxx}
  - 不会直接拍板的事:{xxx}

Reply Persona 摘要:
  - 核心语气:{xxx}
  - 对老板/同级/客户的差异:{xxx}
  - 常见开头/结尾:{xxx}
  - 需要本人确认的场景:{xxx}

Only write files after the user confirms.

5. Write Files

  1. Initialize the output directory:
    bash
    python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py \
      --action init \
      --slug {slug} \
      --name "{name}" \
      --base-dir ./selves
  2. Write:
    • selves/{slug}/work.md
    • selves/{slug}/persona.md
    • selves/{slug}/meta.json
  3. Combine them into runnable skills:
    bash
    python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py \
      --action combine \
      --slug {slug} \
      --base-dir ./selves

Write meta.json with this shape:

json
{
  "name": "{name}",
  "slug": "{slug}",
  "created_at": "{ISO time}",
  "updated_at": "{ISO time}",
  "version": "v1",
  "profile": {
    "role": "{role}",
    "focus": "{focus}",
    "timezone": "{timezone}",
    "scope": "{scope}"
  },
  "tags": {
    "work_style": [],
    "communication_style": [],
    "boundaries": []
  },
  "impression": "{one-paragraph summary}",
  "source_files": [],
  "corrections_count": 0
}

Tell the user:

text
✅ Self Skill 已创建

文件位置:selves/{slug}/
触发词:/{slug}(完整版)
        /{slug}-work(仅工作方式)
        /{slug}-reply(仅回复风格)

如果哪里不像你,直接说“这不像我”。

Evolution

Append New Material

When the user provides more source material:

  1. Parse and read the new material.
  2. Read current work.md, persona.md, and meta.json.
  3. Read merger.md.
  4. Back up the current version:
    bash
    python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py \
      --action backup \
      --slug {slug} \
      --base-dir ./selves
  5. Edit work.md and persona.md with incremental changes.
  6. Bump version metadata:
    bash
    python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py \
      --action stamp \
      --slug {slug} \
      --base-dir ./selves
  7. Re-combine the full skill.

Handle Corrections

When the user says "这不像我" or gives a correction:

  1. Read correction_handler.md.
  2. Decide whether the correction affects Work System, Reply Persona, or both.
  3. Append the correction under each file's ## Correction Record section.
  4. Run:
    bash
    python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py \
      --action stamp \
      --slug {slug} \
      --base-dir ./selves \
      --correction 1
  5. Re-combine the full skill.

Management Commands

List generated selves:

bash
python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list --base-dir ./selves

List versions:

bash
python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py --action list --slug {slug} --base-dir ./selves

Rollback:

bash
python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py --action rollback --slug {slug} --version {version} --base-dir ./selves

Delete after confirmation:

bash
rm -rf selves/{slug}

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Self Skill」では何ができますか?

Distill the user into an executable AI skill that can work and reply like them by extracting work habits, decision rules, communication style, channel-specific tone, and safety boundaries from the user's own documents, notes, chats, and emails. Use when the user asks to create or update a self clone, personal operating manual, reply assistant, founder or manager style skill, or a skill that can handle work and messages on their behalf.

TypingMindでSelf Skillを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Self Skillはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSelf Skillをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/moyitech/self-skill/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Self Skillを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Self Skillは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSelf Skillを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Self Skill」は無料ですか?

moyitechがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇