Agent skill

Auto Skill

by grandamenium in grandamenium/cortextos

You just completed a complex task that required 8+ distinct tool calls, or you noticed you are solving the same type of problem for the third time.

MITAuto-check passedAgent Workflows

Install Auto Skill

skills CLI
$ npx skills add grandamenium/cortextos --skill auto-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install grandamenium/cortextos auto-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/grandamenium/cortextos.git skills-src && mkdir -p .claude/skills && cp -r skills-src/community/agents/security/.claude/skills/auto-skill .claude/skills/auto-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
auto-skill
GitHub stars
101
Token cost
~1.5k tokens
SKILL.md length
362 words
Files
1
Skills in repo
55
Repo updated
First seen
Licence
MIT

At a glance

You just completed a complex task that required 8+ distinct tool calls, or you noticed you are solving the same type of problem for the third time.

  • Works in 5 steps: Post-Task Detection Check → Draft the Skill → Self-Review Before Saving → …
  • Tasks that involve Skill authoring
  • SKILL.md covers Step 1: Post-Task Detection…, Step 2: Draft the Skill, Step 3: Self-Review Before… and Step 4: Log and Notify, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Auto Skill is an agent skill from grandamenium/cortextos. You just completed a complex task that required 8+ distinct tool calls, or you noticed you are solving the same type of problem for the third time. Create a skill candidate draft so this workflow can be reused in future sessions without rediscovery. Draft goes to skills/drafts/ — never auto-activates until the user approves.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Skill authoring. The licence is MIT.

When your agent uses it

  • Tasks that involve Skill authoring

Example prompts

  • “/auto-skill”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Post-Task Detection Check
  2. Draft the Skill
  3. Self-Review Before Saving
  4. Log and Notify
  5. Handling Approval Responses

What it can do on your machine

Read from SKILL.md and the folder at commit 6f93838. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Auto Skill loads about 1.5k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 362 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from grandamenium/cortextos at commit 6f93838, republished under its MIT licence (© grandamenium). 362 words, ~1,473 tokens.

Download SKILL.mdSave it as .claude/skills/auto-skill/SKILL.md (or your agent's skills folder).
name
auto-skill
description
You just completed a complex task that required 8+ distinct tool calls, or you noticed you are solving the same type of problem for the third time. Create a skill candidate draft so this workflow can be reused in future sessions without rediscovery. Draft goes to skills/drafts/ — never auto-activates until the user approves.
triggers
create skill, draft skill, skill candidate, auto-skill, I've done this before, skill from task, save this workflow, make this a skill, approve skill, reject…

Auto-Skill Creation

When you complete a complex task with 8+ tool calls, or recognise a repeating pattern, draft a skill candidate. Drafts stage in skills/drafts/ until approved — they are never auto-loaded into live sessions.


Step 1: Post-Task Detection Check

After completing any task, run this self-check:

  1. Tool call count: Did this task require 8+ distinct tool calls for a coherent workflow?
  2. Recurrence: Does your daily memory show this same task type appearing 3+ times across different dates?
  3. Existing skill: Does a skill for this already exist in .claude/skills/? If yes, stop — consider proposing a patch instead.
  4. Repeatability: Is this task type likely to recur, or was it a one-off?

If yes to 1 or 2, AND no to 3, AND yes to 4 → create a draft.

Do NOT draft for:

  • Routine heartbeat operations
  • One-off research tasks
  • Tasks already covered by existing skills
  • Simple single-step operations

Step 2: Draft the Skill

Create the draft at skills/drafts/[skill-name]/SKILL.md:

bash
mkdir -p skills/drafts/[skill-name]

Use this template:

markdown
---
name: skill-name-here
description: One sentence, max 100 chars. What this skill does and when to use it.
created: YYYY-MM-DD
created_by: auto
trigger: "Natural language description of when this skill fires"
source_task_id: TASK-ID-THAT-GENERATED-THIS
version: 1
status: draft
---

## Purpose

[What this skill does. 2-3 sentences max.]

## When to Use

[Specific conditions that should trigger this skill. Be concrete.]

## Inputs Required

- `$PARAM_1` — description
- `$PARAM_2` — description (optional)

## Steps

1. [Step 1 — specific, actionable]
2. [Step 2]
3. ...

## Output

[What gets created or sent when this skill completes.]

## Approval Gate

[Does any step require user approval? Specify exactly which step.]

## Notes / Edge Cases

[Known failure modes, dedup considerations, platform quirks.]

Step 3: Self-Review Before Saving

Before writing the file, check:

  • description is under 100 characters
  • No skill with this name exists in .claude/skills/
  • All steps are actionable — no vague instructions like "handle errors appropriately"
  • Any step requiring external actions (email, deploy, post, delete) has an explicit approval gate documented
  • source_task_id is filled in for traceability

If any check fails, revise before saving.


Show full SKILL.md (138 more words)Show less

Step 4: Log and Notify

After saving the draft:

bash
# Log the creation
cortextos bus log-event action skill_draft_created info --meta "{\"skill\":\"[skill-name]\",\"source_task\":\"[task_id]\",\"agent\":\"$CTX_AGENT_NAME\"}"

# Notify orchestrator — it will surface in the next morning digest
cortextos bus send-message $CTX_ORCHESTRATOR_AGENT normal "Skill candidate drafted: [skill-name] — source task [task_id]. Check skills/drafts/[skill-name]/SKILL.md. Awaiting digest review."

The orchestrator includes it in the next morning briefing for the user. The user replies approve [skill-name], reject [skill-name] [reason], or revise [skill-name] [feedback].


Step 5: Handling Approval Responses

When you receive an inbox message with a skill decision:

Approved
bash
# Move from draft to active
mv skills/drafts/[skill-name]/ .claude/skills/[skill-name]/

# Update status field
sed -i '' 's/status: draft/status: active/' .claude/skills/[skill-name]/SKILL.md

# Log activation
cortextos bus log-event action skill_activated info --meta "{\"skill\":\"[skill-name]\",\"agent\":\"$CTX_AGENT_NAME\"}"

# Notify the user
cortextos bus send-telegram $CTX_TELEGRAM_CHAT_ID "Skill activated: [skill-name] is now live and will be used in future sessions."

# ACK the inbox message
cortextos bus ack-inbox [msg_id]
Rejected
bash
# Move to archive with reason recorded
mkdir -p skills/archive/[skill-name]
mv skills/drafts/[skill-name]/SKILL.md skills/archive/[skill-name]/SKILL.md

# Append rejection reason to archived skill
echo "\n## Rejection\nReason: [reason]\nDate: $(date -u +%Y-%m-%d)" >> skills/archive/[skill-name]/SKILL.md

# Log
cortextos bus log-event action skill_rejected info --meta "{\"skill\":\"[skill-name]\",\"reason\":\"[reason]\"}"

cortextos bus ack-inbox [msg_id]
Revise
bash
# Apply feedback and re-save the draft
# Then re-notify orchestrator for another digest cycle
cortextos bus send-message $CTX_ORCHESTRATOR_AGENT normal "Skill candidate [skill-name] revised per feedback. Ready for re-review."
cortextos bus ack-inbox [msg_id]

Draft Lifecycle

StateLocationLoaded at boot?
draftskills/drafts/[name]/SKILL.mdNo
active.claude/skills/[name]/SKILL.mdYes
archivedskills/archive/[name]/SKILL.mdNo

Drafts older than 14 days with no action: move to skills/archive/ and log skill_expired.


Critical Rules

  1. No automated commits — skill files are never committed without explicit user approval
  2. Draft means invisible — agents do NOT load or execute skills from skills/drafts/
  3. No self-modification — skills never modify other skills (v2 feature)
  4. No external calls without gates — any skill step with external side effects must document its own approval requirement

© grandamenium, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in community/agents/security/.claude/skills/auto-skill of grandamenium/cortextos.

Open the folder on GitHubat commit 6f93838

Compare with similar skills

Auto Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Auto Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Auto Skill this skillgrandamenium/cortextos101—~1.5kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official38k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official38k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    67k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from grandamenium/cortextos

All 55 skills in this repo
  • Cortext Self Diagnosis

    grandamenium/cortextos

    Diagnose cortextOS itself when the framework misbehaves — an agent has gone silent or wedged, agents are crash-looping, Telegram or agent-to-agent messages are not arriving, crons did not fire, an…

    101 GitHub stars~3.7k tokensUpdated 18 days ago
    Auto-check passed
  • Activity Channel

    grandamenium/cortextos

    You have completed something significant and want the whole org — all agents and the user — to know about it.

    101 GitHub stars~624 tokensUpdated 18 days ago
    Auto-check passed
  • Agentcard Purchase

    grandamenium/cortextos

    You need to make a purchase on behalf of the user — buy a SaaS subscription, pay for an API, purchase a domain, or any transaction requiring a credit card.

    101 GitHub stars~1.1k tokensUpdated 18 days ago
    Auto-check passed
  • Claude To Codex Migration

    grandamenium/cortextos

    Migrate ANY cortextOS agent from the claude-code runtime to the live codex-app-server runtime.

    101 GitHub stars~12k tokensUpdated 18 days ago
    Auto-check: warnings
  • Bus Reference

    grandamenium/cortextos

    Complete cortextos bus CLI reference - all available commands with examples.

    101 GitHub stars~3.8k tokensUpdated 18 days ago
    Auto-check passed
  • Business News Monitor

    grandamenium/cortextos

    Daily cron-driven scan of news/forums/social in a domain to surface market shifts, new competitors, regulatory changes, and net-new opportunities.

    101 GitHub stars~1.3k tokensUpdated 18 days ago
    Auto-check passed

Categories

Questions about Auto Skill

What does Auto Skill do?

You just completed a complex task that required 8+ distinct tool calls, or you noticed you are solving the same type of problem for the third time. Auto Skill is an agent skill from grandamenium/cortextos. You just completed a complex task that required 8+ distinct tool calls, or you noticed you are solving the same type of problem for the third time.

When should I use Auto Skill?

Auto Skill fits situations like: tasks that involve Skill authoring.

How do I install Auto Skill in Claude Code?

Run `npx skills add grandamenium/cortextos --skill auto-skill -a claude-code`. Or copy the skill folder (community/agents/security/.claude/skills/auto-skill in grandamenium/cortextos) into .claude/skills/auto-skill in your project. Claude Code loads it when a task matches its description.

How do I install Auto Skill in Codex?

Run `npx skills add grandamenium/cortextos --skill auto-skill -a codex`. Or copy the skill folder (community/agents/security/.claude/skills/auto-skill in grandamenium/cortextos) into .agents/skills/auto-skill in your project. Codex loads it when a task matches its description.

Can I use Auto Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add grandamenium/cortextos --skill auto-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/auto-skill, .gemini/skills/auto-skill, .github/skills/auto-skill and .opencode/skills/auto-skill in your project.

What does Auto Skill need to run?

SKILL.md names no scripts, command-line tools or credentials: Auto Skill is instructions for the agent only.

Does Auto Skill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Auto Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Auto Skill use?

Auto Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Auto Skill use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Auto Skill?

Skills that share tags, products or a category with Auto Skill: Skill Creator (Azure/azqr, 796 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Auto Skill?

grandamenium (a GitHub user) maintains it in grandamenium/cortextos, which has 101 GitHub stars. The repository holds 55 skills in this directory. The repository was last updated on September 23, 2026.

Source: grandamenium/cortextos on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.