Day 4 – Raku AI-agent Skills

Introduction

This document describes the creation and usage of the so-called skills for Artificial Intelligence (AI) agents in Raku programming sessions and workflows. (Agent skills for short.)

Agent skills became popular when the company Anthropic introduced them in the fall of 2025 as AI-agent-reusable folders containing a Markdown file named “SKILL.md” and sub-folders with scripts and references. “SKILL.md” starts with YAML-formatted header (with skill’s name, description, and optional metadata) followed by detailed instructions. AI-agents could discover those detailed instructions, and related scripts and references, through the so-called progressive disclosure.

Agent skills became prominent because the increasingly capable AI-agents could have access to tools via Model Context Protocol (MCP) or external function execution (aka “function calling”) but would not have the corresponding (reliable) know-how. Agent skills provide that know how.

Agent skills became very (explosively?) popular after Anthropic published the skill format as an open standard at agentskills.io.

This document covers several topics:

  • Well known collections of skills
  • A collection of Raku-centric skills
  • Practical tips of using AI-agents and skills
  • Demonstration (screenshot and comments)
  • Creation of AI-agent skills
  • Using Raku to validate Agent skills
  • Programmatic use of Agent skills
  • Future plans

Well known agent skills collections

There are multiple repositories of Agent skills. For example:

≈Stars Repository Description
338k mattpocock/skills Small, composable engineering skills (“for real engineers”). Includes grill-me, TDD, architecture, triage, etc.
331k obra/superpowers Full software development methodology (brainstorm → plan → TDD → subagent-driven implementation → review).
315k affaan-m/ECC Agent harness / performance system with skills, memory, security, and research-first practices.
204k anthropics/skills Official Anthropic reference repo with example skills + Agent Skills spec (includes document skills).
203k DietrichGebert/ponytail Encourages agents to write less, simpler, more minimal code.
157k nextlevelbuilder/ui-ux-pro-max-skill Design intelligence skill for better UI/UX (styles, color, typography, UX rules).
124k Leonxlnx/taste-skill Design / frontend taste skill for better-looking agent-built UIs.
122k addyosmani/agent-skills Production-oriented engineering skills covering spec-to-ship workflows with quality gates.
120k pbakaus/impeccable Design commands and vocabulary to polish and review UI work.
81k cloudflare/security-audit-skill Multi-phase security audit skill with machine-readable findings.
81k ComposioHQ/awesome-claude-skills Broad awesome-style list of Claude skills, resources, and tools.
79k mvanhorn/last30days-skill Researches recent topics across social and the web, then synthesizes a summary.
73k blader/humanizer Rewrites text to remove common signs of AI writing.
64k coreyhaines31/marketingskills Marketing skills: copy, SEO, CRO, analytics, etc.
38k VoltAgent/awesome-agent-skills Curated collection of 1000+ official and community skills (multi-agent compatible).

Remark: Star counts (from early December 2026) are approximate and change rapidly.
Remark: Review any skill’s contents — especially scripts — before installing!


A current collection of Raku-centric skills

The GitHub repository “Raku-Agent-Skills”, [AAr1], has 9 skills that facilitate Raku programming. (Currently, mostly for my own packages. This is how I test Agent skills over multiple agents: using packages I know well and use often.)

Here is a tabulated list:

SkillDescription
raku-functional-parsersParser creation with “FunctionalParsers”
raku-h2o-client-data-manipulationData wrangling with “H2O::Client”
raku-javascript-d3-plots-and-chartsPlots and charts with “JavaScript::D3”
raku-javascript-google-chartsPlots and charts with “JavaScript::Google::Charts”
raku-l10n-localizationsRaku keywords localizations to Bulgarian and Russian.
raku-literature-search-arxivarXiv literature search with Raku ecosystem packages.
raku-llm-graph-makingCreation of LLM-graphs provided by “LLM::Graph”
raku-number-theory-computationsNumber theory computations with “Math::NumberTheory”
raku-numerical-integrationNumerical integration computations with “Math::NIntegrate”

Here is a table of the three Agent skills repositories I have started:

Stars Repository Description
0 antononcube/Python-Agent-skills Curated collection of 1+ Python programming skills.
0 antononcube/Raku-Agent-skills Curated collection of 9+ Raku programming skills.
0 antononcube/WL-Agent-skills Curated collection of 1+ Wolfram Language programming skills.

Practical tips of using AI-agents and skills

Here is a list of practical tips on using AI-agents and skills for privacy or security point of view:

  • Strongly consider using AI-agents in Docker, Apple Container, DevPod, Fly.io, etc.
  • Determine do you want to use the AI-agent in a Terminal app via Command Line Interface (CLI) or over a certain Integrated Development Environment (IDE) app.
    • Below is a screenshot of using Docker image via Visual Studio Code on macOS.
    • Beware that your IDE might be “AI-agent enabled” and collecting telemetric data of you interactions.
  • Consider using AI-agents that easily connect to locally run models via llamafile or Ollama.
    • Prefer local or self-hosted model endpoints over cloud APIs for sensitive work
    • Verify that the chosen remote model provider does not retain or train on your prompts/completions
  • Consider using open sources agents (like Pi) instead of the “big tech” ones (like, Gemini, Claude, Codex, etc.)
  • Establish workflows for using Agent skills via programmatic invocation — as demonstrated below.
  • Run agents with the least privilege possible: mount only the specific directories.
  • Prefer ephemeral / throwaway environments.
  • Restrict network access.
  • Treat skills as untrusted code.
    • Review “SKILL.md” files and any accompanying scripts before installing or enabling them.
  • Keep secrets out of the agent’s context.
    • Never paste API keys, tokens, or passwords into prompts.
  • Version-pin both the agent and the skills you use, and periodically re-review them.
    • Skills and agent codebases can change — an update may introduce new tools, network behavior, or data-handling (which you might not like).

Demonstration

The following screenshot demonstrates the use of the AI-agent Codex in VS Code Dev container environment.

  • Examine the prompt at the top of the leftmost panel
  • Note that the first reasoning step shows the use of numerical integration skill (or guidance)
  • Also, a skill (or guidance) is found for the D3.js plot
  • The resulting notebook is a correct Jupyter notebook with correct executable Raku code
  • The rest of session screenshots can be seen here.

Creation of AI-agent skills

It is likely that prompt engineering is going to morph, or be replaced, by skills engineering. The “big” AI-agents (like Codex) have a skill to create Agent skills, therefore, often it is enough to provide a sufficiently good first version of the skill (name, description, know how, and optional scripts and references) and the ask the AI-agent to create full-blown Agent skill that adheres to the specifications and best practices given at agentskills.io.

This can be further facilitated by having procedures that validate Agent skills — i.e. check if a certain directory have the format described at agentskills.io.

For some of the Agent skills I created I did fairly extensive preparation. For example, for the skill raku-number-theory-computations I prepared programmatically a name-and-description table for all subs of “Math::NumberTheory”, [AAp4] — see the notebook “Math-NumberTheory-subs-table.ipynb”.


Using Raku to validate Agent skills

The package “LLM::Resources”, [AAp3], provides the class AgentSkillValidator for agent skill verification related operations (parsing, compatibility, validation) and the CLI script agent-skill-validation that checks whether a directory is a valid agent skill under the agentskills.io conventions.

Here is the usage message of CLI script agent-skill-validation:

agent-skill-validation --help
# Usage:
# agent-skill-validation.raku <skill-dir> [--boolean|--bool] -- Verify is a given directory a valid agent skill.
#
# <skill-dir> Agent skill directory
# --boolean|--bool Whether to give a Boolean results or not. [default: False]

Here is an example usage:

agent-skill-validation .
# [
# "Missing required file: SKILL.md"
# ]

The package “LLM::Resources” also provides the sub is-valid-agent-skill (used below).


Programmatic use of Agent skills

This section demonstrates how to use agent skills in Raku sessions via “LLM::Functions” framework, [AAp1].

Simple LLM-synthesis

Load packages:

use LLM::Functions;
use LLM::Resources;
use LLM::Prompts;

Get skill directories from a default location (“~/.codex/skills”) and print their names:

my $dir = $*HOME.add(<.codex skills>);
my @skill-dirs = dir($dir).grep(*.&is-valid-agent-skill);
.say for @skill-dirs».basename.sort
# raku-functional-parsers
# raku-h2o-client-data-manipulation
# raku-javascript-d3-plots-and-charts
# raku-javascript-google-charts
# raku-l10n-localizations
# raku-literature-search-arxiv
# raku-llm-graph-making
# raku-number-theory-computations
# raku-numerical-integration

Create an LLM access configuration that uses the AI-agent skills:

my $conf = llm-configuration('chatgpt', skills => @skill-dirs, max-tokens => 8192, model => 'gpt-5.6-luna', reasoning-effort => 'none');
# LLM::Configuration(:name("chatgpt"), :model("gpt-5.6-luna"), :module("WWW::OpenAI"), :max-tokens(8192), :prompts-count(1))

Generate an LLM result for a numerical integration computation command, [AA2]:

my $res = llm-synthesize([
llm-prompt('NothingElse')('Raku'),
'I want to compute the integral of 1/sqrt(x) over the range [0, 1] using Gauss-Kronrod rule.',
],
e => $conf
):!echo
# use Math::NIntegrate;
#
# my %result = nintegrate(
# -> $x { 1 / $x.sqrt },
# <x 0 1>,
# method => 'gauss-kronrod',
# precision-goal => 10,
# max-recursion => 20,
# :pairs,
# );
#
# say %result<integral>;
# say %result<error>;

Remark: The sub llm-prompt is provided by the package “LLM::Prompts”, [AAp2], which also has 233 prompts.

Remark: The echo adverb (boolean option) can be used to verify the use of skills.

The following diagram shows the three main stages of how llm-synthesize uses agent skills: (i) skill discovery and prompt generation, (ii) tool construction, and (iii) LLM configuration augmentation. It also shows the deferred loading of complete skill instructions.

The principal architectural pattern is progressive disclosure of agent skills:

  • Discovery: Only skill names and descriptions are initially collected.
  • Registration: The skills prompt and the activate-skill tool are added to the LLM configuration.
  • Activation: The LLM requests complete instructions for a relevant skill on demand.

Via a chat object

It is nice to have LLM-chat objects prompted to use AI skills (ready to be activated). Here is example code:

my $conf = llm-configuration('chatgpt', skills => @skill-dirs, max-tokens => 8192, model => 'gpt-5.1', reasoning-effort => 'none');
my $chat = LLM::Functions::Chat.new(llm-evaluator => LLM::Functions::EvaluatorChat.new(:$conf), chat-id => 'raku-skilled-chat-object-' ~ now.DateTime.Str);
say $chat.eval(llm-prompt('NothingElse')('Raku') ~ "\n\nCompute the primitive roots of 73.");

Future plans

This section lists possible Raku-projects for agent skill creation and facilitation.

Skills

A few months ago I made a call for Raku-centric skills. The (only) one suggested is obvious — searching Raku’s official documentation.

Here is a list of Raku Agent skills I see as both helpful to me and a “typical” Raku programmer:

  • raku-regression-workflows : Quantile Regression and Least Squares Fit computations.
  • raku-cli-file-search : “App::Rak” usage. ([AA1] shows how to use few-shot training.)
  • raku-doc-finder : Raku documentation search with correct web links.
  • raku-llm-pipelines: LLM pipelines created with “LLM::Functions” and “LLM::Prompts”.
  • raku-graph-creation-and-plottung : Graphs (networks) creation and plotting with “Graph” and “JavaScript::D3”.
  • raku-gui-making : most likely to be based on “GUI::Wings”.

And, yes, please feel free to suggest Agent Skills, and/or implement your own (and share with the Raku community.)

Integration

The following two integrations process the --skills option:

Those integrations are obvious and almost “immediate” given the chat-object-with-skills workflow demonstrated above. The reason they are not implemented yet is the dependence of “LLM::Resources” on the heavy “DSL::Translators”. (I plan to do those required refactoring and implementations soon.)


References

Articles, blog posts

[AA1] Anton Antonov, “TLDR LLM solutions for software manuals”, (2023), RakuForPrediction at WordPress.

[AA2] Anton Antonov, “Three Big Advancements in Raku Numerics”, (2026), RakuForPrediction at WordPress.

Packages

[AAp1] Anton Antonov, LLM::Functions, Raku package, (2023-2026), GitHub/antononcube.

[AAp2] Anton Antonov, LLM::Prompts, Raku package, (2023-2026), GitHub/antononcube.

[AAp3] Anton Antonov, LLM::Resources, Raku package, (2026), GitHub/antononcube.

[AAp3] Anton Antonov, Math::NumberTheory, Raku package, (2025-2026), GitHub/antononcube.

Repositories

[AAr1] Anton Antonov, Raku-Agent-Skills, (2026), GitHub/antononcube.

Published by Anton Antonov Antonov

I am an applied mathematician and often I play the role of a senior data scientist. I worked seven years as a kernel developer at Wolfram Research, Inc. I did my Ph.D. in the field of large scale air-pollution simulations.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.