AIFeed

Raku AI-Agent Skill

Original text(via HN AI)

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:

≈StarsRepositoryDescription
338kmattpocock/skillsSmall, composable engineering skills (“for real engineers”). Includes grill-me, TDD, architecture, triage, etc.
331kobra/superpowersFull software development methodology (brainstorm → plan → TDD → subagent-driven implementation → review).
315kaffaan-m/ECCAgent harness / performance system with skills, memory, security, and research-first practices.
204kanthropics/skillsOfficial Anthropic reference repo with example skills + Agent Skills spec (includes document skills).
203kDietrichGebert/ponytailEncourages agents to write less, simpler, more minimal code.
157knextlevelbuilder/ui-ux-pro-max-skillDesign intelligence skill for better UI/UX (styles, color, typography, UX rules).
124kLeonxlnx/taste-skillDesign / frontend taste skill for better-looking agent-built UIs.
122kaddyosmani/agent-skillsProduction-oriented engineering skills covering spec-to-ship workflows with quality gates.
120kpbakaus/impeccableDesign commands and vocabulary to polish and review UI work.
81kcloudflare/security-audit-skillMulti-phase security audit skill with machine-readable findings.
81kComposioHQ/awesome-claude-skillsBroad awesome-style list of Claude skills, resources, and tools.
79kmvanhorn/last30days-skillResearches recent topics across social and the web, then synthesizes a summary.
73kblader/humanizerRewrites text to remove common signs of AI writing.
64kcoreyhaines31/marketingskillsMarketing skills: copy, SEO, CRO, analytics, etc.
38kVoltAgent/awesome-agent-skillsCurated 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:

StarsRepositoryDescription
0antononcube/Python-Agent-skillsCurated collection of 1+ Python programming skills.
0antononcube/Raku-Agent-skillsCurated collection of 9+ Raku programming skills.
0antononcube/WL-Agent-skillsCurated 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.
  • 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
  • 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.) For an overview and links see the GitHub repository “e2b-dev/awesome-ai-agents”.
  • For an overview and links see the GitHub repository “e2b-dev/awesome-ai-agents”.
  • 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.
  • 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.
  • 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).
  • 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:

  • Chat cells of Jupyter::Chatbook
  • The CLI scripts llm-chat and llm-chat-meta of Chatnik

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.

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on Telegram (Opens in new window) Telegram

Related

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗