Retro Private Skills logo

Retro Private Skills

Community
aktsmm
retro-private-skills

Reflect reusable learnings into a private Agent Skills repository with scoped safety gates and same-run private commit/push. Not for editing ~/.copilot personal assets or workspace/repository assets (workspace and ~/.copilot skills may be read as intake sources). Use when: skill retro, private skill authoring, skill repository fix, create or update SKILL.md, workspace skill intake.

Overview

Publisheraktsmm
RepositoryAgent-Skills
Skill nameretro-private-skills
Stars
27
Forks
5
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aktsmm on GitHub. Read the source before you install it.

Installation

Install the Retro Private Skills AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aktsmm/Agent-Skills/tree/master/retro-private-skills
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aktsmm/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/retro-private-skills .claude/skills/retro-private-skills
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Retro Private Skills in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Retro Private Skills on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Retro Private Skills is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

retro private skills

Reflect reusable learnings from a session, incident, diff, error, or prompt into the user's private skill repository. The default output is a focused change under the private repo's .github/skills/<skill>/ tree. Do not convert these learnings into personal instructions, prompts, memories, agents, workspace files, or public sync output.

When to Use

  • User says: private skill retro, private skill repo, skill repo authoring, private skill fix, retro private skills, /retro-private-skills
  • User provides Learnings / Evidence / Impact and wants them reflected into reusable Skill behavior
  • User wants to create or update private repo SKILL.md / references/*
  • A prior attempt wrote to ~/.copilot/instructions, copilot-instructions.md, or local .copilot skills, and the user wants the private repo Skill version instead

Inputs

Accept one or more of: error log, Git diff, conversation summary, terminal history, target skill name, private repo path, or mode (safe-auto, review-only, dry-run, プレビュー). If none are present, stop with 入力不足 and ask for the missing input.

Hard Scope Gate

Allowed write targets are limited to:

  • <private-repo>/.github/skills/<skill>/SKILL.md
  • <private-repo>/.github/skills/<skill>/references/*
  • <private-repo>/.github/skills/<skill>/scripts/*
  • <private-repo>/.github/skills/<skill>/assets/*

Never write to these targets for this workflow unless the user explicitly asks to improve that exact asset:

  • user-wide instructions, configuration, and installed Skill mirrors on any host
  • workspace .github/**, AGENTS.md, or repository-specific instructions
  • memories, public sync output or remote targets other than the verified private origin authorized by safe-auto

If the best target appears to be an instruction, prompt, memory, or agent, stop with scope 不一致. For this skill, New Skill Proposal means a proposed or created .github/skills/<new-skill>/SKILL.md, not an instruction file. Content written back to a skill must be self-contained and portable; do not depend on a workspace file, memory note, local absolute path, or environment-specific ledger remaining available, and do not name another skill or delegate rules to it (describe out-of-scope work generically).

Intake Pre-Step (optional)

Intake is a separate, explicit pre-step that brings existing skills into the private repo from a local Copilot skill mirror or from a workspace's .github/skills/<skill>. Skip it for a normal retro. When requested, follow Private Skill Intake Workflow; only the mirror pre-step may write under <private-repo>/copilot-skills/**, while curated authoring remains under .github/skills/<skill>/.

Private Repo Resolution

Resolve the private repo root in this order:

  1. Explicit private repo path from the user
  2. SYNC_PUBLIC_SKILLS_PRIVATE_REPO from Process/User/Machine environment; if $env: is empty, explicitly check [Environment]::GetEnvironmentVariable(name, 'Process'/'User'/'Machine') before declaring it unset
  3. Parent repo inferred from SYNC_PUBLIC_SKILLS_SCRIPT
  4. Current workspace only if it contains .github/skills/ and is clearly the private skill repo

After resolution, verify that .github/skills/ exists. If not, stop with private repo 未解決.

Mode

  • Default: safe-auto
  • review-only, dry-run, or プレビュー: propose target changes and stop before editing
  • In safe-auto, edit directly when scope is clear, the safety gate passes, and the change is small or medium
  • Confirm unclear scope, new privileges/destinations/visibility/defaults, destructive deletion or uncertain sensitive data. Otherwise use safe-auto without reapproval; read-only and holds take precedence.
  • In safe-auto, create a focused local commit and push it in the same run. There is no ahead-count threshold: several PCs share this repo, so a local commit left behind means the next machine starts from a stale tree. Invoking this skill counts as the push approval. To keep a draft local instead, use review-only or dry-run.
  • Git gate: classify dirty/history, preserve unrelated work, and verify only authorized private-skill commits will be pushed. A conflict-free normal merge is allowed after scope inspection and integration validation; conflicts, rebase, force push, or history rewriting require preserving state and stopping. Refresh remote refs immediately before push. Details: Git Safety Procedure.
  • Do not run public, internal, or EMU sync from this skill. If distribution is needed, state in the completion report that a separate distribution sync is needed and leave it to the repository's sync workflow.

Routing Rules

  1. Extract each item into Learning / Evidence / Impact.
  2. Prioritize by Impact x Recurrence as P1/P2/P3.
  3. Inspect existing private skills before creating anything.
  4. Route to the most specific existing owner, including related owners not named by the user when they address the same request or learning; never expand into unrelated cleanup or new goals. 4b. Multi-target case: when a learning is a cross-cutting principle that several skills must own independently to stay Self-Contained (for example: tool-platform constraints, push-threshold rules, gate items that each skill verifies locally), apply it to every affected skill as a 1-line gate. Each copy must be a tiny independent SSOT, not a hard reference to a primary; same wording across files is allowed when portability requires it. Do not copy the same long block — keep each insertion to one line of judgment. 4c. Multi-learning case: when one incident produces several independent learnings with different owning skills, split them and update each owning skill in the same retro turn. Do not force all learnings into the first plausible skill. Example: deck artifact folder design belongs to planning/workspace skills, while generation/editing mechanics belong to automation skills.
  5. If no existing skill owns the behavior and the learning is reusable as a workflow, create a new private skill folder.
  6. If the learning is workspace/customer/project-specific, abstract it before writing; if it cannot be safely abstracted, stop with scope 不一致 and suggest a workspace-scoped record or workflow instead.
  7. A scope 不一致 or hand-off stop applies only to that learning; continue independent in-scope learnings. Stop the whole run only when overall safety is unresolved. For an out-of-scope learning, name the recommended destination and why, and confirm it exists; if unconfirmed, report 確認待ち and the missing information instead of switching to a forbidden target.

Edit Rules

  • Prefer improving existing text over appending duplicate guidance.
  • If the edit tool is blocked on a repository on an external drive by eDLP (os error 449; reads and Copy-Item still work), stage a copy on the internal drive, edit it there, Copy-Item it back, and compare hashes. Use this only for that specific block; if a same-content write still fails twice after staging, stop and report instead of bypassing the control another way.
  • Authoring rules (refactor order, single-observation rule, compaction): see Authoring Rules.
  • Keep SKILL.md a lean entry point, not a general tutorial; move detailed procedures, command examples, and examples to references/*.
  • Do not store secrets, customer data, tenant-specific IDs, local absolute paths, tokens, or /memories/** content in the private skill repo.
  • If a local absolute path is necessary as an example, replace it with a placeholder such as <private-repo>.

Procedure

1. Resolve and Inspect

  • Resolve private repo root.
  • Verify .github/skills/ exists.
  • Run the Git preflight in Git Safety Procedure.
  • List candidate skills and read the most likely SKILL.md files. For large repos or thorough audits, delegate this inventory step to a sub-agent so scope is settled before extracting learnings.
  • If the private repo has its own skill authoring guide, follow its structure and review guidance for new or heavily changed skills.

2. Decide Target

Choose exactly one:

  • Update existing skill: the learning changes how an existing workflow should behave.
  • Add reference to existing skill: the detail is useful but too long for SKILL.md.
  • Create new private skill: the learning forms a distinct reusable workflow and no existing skill owns it.
  • Stop: the input is not actionable or belongs outside private .github/skills/.

3. Apply

  • Edit only under <private-repo>/.github/skills/<skill>/.
  • Keep the diff focused and small.
  • New-skill frontmatter and formatter-drift handling: see Authoring Rules.
  • Add references/ only when detail would bloat SKILL.md, and link each new reference from the entry (one Key References row, plus trigger words in description / When to Use when users can ask for the capability). Never defer that link for entry-size reasons; detail stays in the reference.

4. Bloat Check

After editing, delete unnecessary, self-evident or duplicate text before shortening, only if normal/exception/stop decisions stay unchanged; compact remaining detail or move it to references/. Preserve evidence, nontrivial procedures, scope, required examples, metadata, approvals, unverified requirements and failure/recovery conditions; age alone does not obsolete history, and unsaved notes stay protected. Measure body characters before and after with the same newline handling; report the diff and why replacement was not enough only on a net increase. Never create a history file per run.

5. Validate

Before final response:

  • Check changed paths are all under <private-repo>/.github/skills/.
  • Check no forbidden target was changed.
  • Parse YAML frontmatter for every changed SKILL.md, even one-line edits. Check name against the folder, description triggers and argument-hint against the current use case, and user-invocable, disable-model-invocation (manual-only needs argument-hint), license, and metadata.author against repo conventions; metadata lint alone cannot detect a stale hint.
  • Check no obvious secret, customer data, tenant ID, or local absolute path was added. Scan added lines or the staged target content; do not scan unchanged diff context, which can trigger false positives on pre-existing terms.
  • Commit/push intended private skill changes in safe-auto only when scope is clear, all changed paths are intended, and remote/scope checks pass. Done means the execution checkout is clean with ahead/behind 0/0; original unrelated dirty is preserved and reported, not a completion blocker.
  • List up to three read-only candidates: dirty -> Retro; pending private commits -> ahead-range review; committed public-safe gap -> separately requested sync. Honor holds/visibility; never expand operations or offer private/internal/denied content for public sync.

Output

Use the compact report in Authoring Rules.

Stop reasons: 入力不足 / private repo 未解決 / scope 不一致 / Safety Gate 失敗 / actionable な知見なし / 新規 skill 候補 / review-only.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Retro Private Skills AI skill do?

Reflect reusable learnings into a private Agent Skills repository with scoped safety gates and same-run private commit/push. Not for editing ~/.copilot personal assets or workspace/repository assets (workspace and ~/.copilot skills may be read as intake sources). Use when: skill retro, private skill authoring, skill repository fix, create or update SKILL.md, workspace skill intake.

Why use Retro Private Skills on TypingMind?

Because you install it once and use it with any model. Retro Private Skills is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Retro Private Skills in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aktsmm/Agent-Skills/tree/master/retro-private-skills. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Retro Private Skills?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Retro Private Skills?

As many as you like. As long as a model supports skills, you can use Retro Private Skills with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Retro Private Skills AI skill free?

It is published on GitHub by aktsmm. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇