Internalize skill

From yamcodes/arkenv · View interactive version

Internalize skill is an AI agent skill from the GitHub repository yamcodes/arkenv. Move newly installed skills from '.agents/skills/' to the project's root 'skills/' directory, with options to rename and attribute them, and mark them as internal. Use this skill whenever a new skill is installed and needs to be promoted, renamed, or attributed as a project-internal skill.

How to use this skill

Skill file

Internalize skill

This skill automates the process of moving externally installed skills to the project's internal skills/ directory, tagging them as internal, and optionally renaming and attributing them.

Workflow

  1. Identify Target Skills & Options:
  1. Move/Rename to Internal:
  1. Update Frontmatter & Metadata:
  1. Append Markdown Credits (Optional):

Implementation details

The skill should rely on standard bash commands for efficiency and portability.

Moving & renaming skills

# If keeping the same name:
mv .agents/skills/<old-name> skills/

# If renaming:
mv .agents/skills/<old-name> skills/<new-name>

Updating metadata

Use code edits or awk to update SKILL.md frontmatter. The logic should:

Example of expected final frontmatter structure:

---
name: arkenv-changesets
description: Creates changesets for semantic versioning.
metadata:
  author: Yam Borodetsky
  original_author: Ollie Shop
  origin: github.com/ollieshop/creating-changesets
  version: 1.0.0
  internal: true
---

Safety checks

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.