@populartourist: Personal favourite skill for agentic work, and huge token efficiency: atomic-ops Crafted an agnostic SKILL.md, tested w…

X AI KOLs Timeline Tools

Summary

Introduces atomic-ops, a technique for agentic AI systems that batches multiple tool calls into a single Python script, achieving up to 98% reduction in tokens and faster inference via MTP. The approach is implemented in an agnostic SKILL.md file and available in the alpha-prompts repository.

Personal favourite skill for agentic work, and huge token efficiency: atomic-ops Crafted an agnostic SKILL.md, tested with Pi to batch all toolcall ops into an ephemeral Python script. Result: up to 98% less total tokens and faster inference (MTP). Writing code for toolcalls is a repetitive pattern, making it easier for MTP to predict next tokens -> faster inference. Generally some harnesses wrap *same* logic operations into a single toolcall - this wraps *multiple* operations into a python script. Models like Qwen3.6 27B know how to code, so they can choose their best way to achieve solution - within set of rules established. Validation criteria helps if something is missed or fails, the LLM fixes it straight away in the next attempt, faster.
Original Article
View Cached Full Text

Cached at: 05/24/26, 06:36 PM

Personal favourite skill for agentic work, and huge token efficiency: atomic-ops

Crafted an agnostic SKILL.md, tested with Pi to batch all toolcall ops into an ephemeral Python script.

Result: up to 98% less total tokens and faster inference (MTP).

Writing code for toolcalls is a repetitive pattern, making it easier for MTP to predict next tokens -> faster inference.

Generally some harnesses wrap same logic operations into a single toolcall - this wraps multiple operations into a python script.

Models like Qwen3.6 27B know how to code, so they can choose their best way to achieve solution - within set of rules established.

Validation criteria helps if something is missed or fails, the LLM fixes it straight away in the next attempt, faster.


wonderfuldestruction/alpha-prompts

Source: https://github.com/wonderfuldestruction/alpha-prompts

Overview

This repository contains a set of high-efficiency system prompts and skills for code engineering or general purpose applications.

Available for Hermes Agent and Kilocode v5.12.x and agnostic SKILL.md file compatible harnesses like Pi.

Key Advantages

  • Efficiency: Up to 98% time & token reduction compared to traditional multiple tool call approaches. Dramatically faster end-to-end completion.
  • MTP Boost: Longer horizon sessions see faster execution as MTP inference loves repetitive code work.
  • Batching: Stacks all required execution in a single flow, feeding validation immediately into the next step.
  • Persistence: Longer sessions as the context window is preserved due to fewer tool call churns.
  • Reliability: Fewer errors as the LLM focuses on context rather than patching repetitive tool calls.

Example

Generally, agentic harnesses provide an ergonomic toolset for operational interaction, but they typically rely on sequential tool-calling patterns that increase latency and token consumption.

Traditional Approach vs. atomic-ops Example Approach

FeatureSeparate Toll Calls (Anti-Pattern)atomic-ops Approach
Tool Call PatternSequential & Chatty: Multiple back-and-forth turns between the LLM and the environment.Batched & Atomic: A single execute_code call containing a comprehensive Python script.
Execution Flowread_file \rightarrow LLM \rightarrow read_file \rightarrow LLM \rightarrow write_fileexecute_code \rightarrow (Python Runtime: Discovery \rightarrow Process \rightarrow Validate) \rightarrow LLM
LatencyHigh: Each tool call incurs network latency and LLM generation time.Low: Operations happen at native Python speed within a single runtime session.
Context UsageInefficient: Context window is filled with repetitive tool call/response churn.Efficient: Only the final summary and critical errors are returned to the LLM.
ValidationReactive: Errors are often found only after the LLM attempts the next tool call.Proactive: Validation (e.g., compiler checks) is integrated into the script; the script fails fast.
ReliabilityProne to “tool-call churning” where the LLM spends turns fixing small syntax errors.Deterministic; the Python script handles the logic, reducing the LLM’s cognitive load.
MTP BoostSpeed generally optimal as standard, depending type of task.MTP loves repetitive patterns like coding, significantly boosts inference over long horizon sessions, on larg or failed scripts.

Visual Workflow Comparison

Traditional Approach

graph TD
    T1["LLM: Request Read"] --> T2["Env: Return Content"]
    T2 --> T3["LLM: Request Read 2"]
    T3 --> T4["Env: Return Content 2"]
    T4 --> T5["LLM: Request Write"]
    T5 --> T6["Env: Confirm Write"]
    T6 --> T7["LLM: Request Test"]
    T7 --> T8["Env: Return Test Result"]

atomic-ops Approach

graph TD
    A1["LLM: execute_code"] --> A2["Python Runtime"]

    subgraph Runtime["Internal Script Execution"]
        P1["Snapshot"] --> P2["Discovery"]
        P2 --> P3["Process/Edit"]
        P3 --> P4["Validate/Test"]
    end

    A2 --> Runtime
    Runtime --> A3["Env: Return Final Summary"]
    A3 --> A4["LLM: Final Review"]

Concrete Example: Batch Processing

Instead of 10 separate read_file and write_file calls, atomic-ops instructs to use a single script:

from hermes_tools import terminal, read_file, write_file

# 1. Discovery: Find all modified files
status = terminal(command="git status --porcelain")
files = [line[3:].strip() for line in status['output'].split('\n') if line.startswith(' M')]

# 2. Process: Batch edit and summarize
summaries = []
for f in files:
    content = read_file(path=f)
    summaries.append(f"- {f}: {content['content'][:50]}...")

# 3. Finalize: Single write operation
write_file(path="summary.md", content="\n".join(summaries))

Agnostic Skills - atomic-ops

Installation

Tuned for SKILL.md agnostic harnesses like Pi.

Either copy-paste, or ask agent:

Create the `atomic-ops` skill and copy the instructions from 
`https://github.com/wonderfuldestruction/alpha-prompts/blob/main/agnostic-skills/atomic-ops/SKILL.md`

Hermes Agent Skill - atomic-ops

Installation

Tuned for Hermes Agent, simply request your agent:

Create the `atomic-ops` skill and copy the instructions from `https://github.com/wonderfuldestruction/alpha-prompts/blob/main/hermes/atomic-ops/SKILL.md`

Notes

Friendly reminder that SKILL.md can get drifted in compacted sessions and might have to be ocasionally reminded to the agent.

LLMs ocasionally miss system prompts instructions and could get drifted in compactions. Using SKILL.md and reminding model seems to offer better outcomes.

Kilocode Custom Agent - system-code-alpha

system-code-alpha is a system prompt designed mainly for code-related tasks on Kilocode v5.12.x. Some LLMs may not behave well under this system prompt, so trial is required - some examples:

  • Excellent Performance:

    • Qwen3.5 27B
    • Devstral Small 2
  • Good Performance:

    • Gemma 4 31B
    • GLM 4.6
    • GPT-OSS models
    • Qwen3 Coder Next
  • Mixed Results:

    • GLM 4.7 Flash (mostly a miss - likely due to quantization issues or other technical problems)

Notes

system-code-alpha was specifically engineered to operate in Kilocode v5.12.x. It represents an alternative to Kilocode’s original Code agent, offering significant improvements in efficiency.

This system prompt won’t work on newer Kilocode from v7 as some custom knobs have been removed, making this system prompt unusable - defaults to Kilocode’s standard tool calling. It won’t work on older Kilocode versions either, as Kilocode changed the tool calling harness.

Installation

Copy the system prompt inside system-code-alpha and paste into system prompt section when creating new agent via Kilocode settings. These steps seem to be changing, so I’d refer to Kilocode documentation.

  • Tool Configuration

    • Edit and write tools should be disabled in settings to avoid model misguidance
    • Kilocode provides mechanical guidance in the background for different active tools
    • This configuration helps reduce churning and spare context window
  • Repository Search

    • It has been more effective without indexing like Qdrant
    • Python scripting leverages tool flexibility for efficient navigation

Safety Recommendations

To mitigate risks associated with terminal execution:

  • Always enable guardrails in Kilocode settings
  • Carefully review all terminal commands before execution
  • Monitor sessions closely for unintended operations

Similar Articles

mattpocock/skills

GitHub Trending (daily)

This open-source repository provides a composable set of AI agent skills and prompts designed to improve alignment, reduce verbosity, and optimize workflows for coding assistants like Claude Code and Codex.

SkillOpt: Executive Strategy for Self-Evolving Agent Skills

Hugging Face Daily Papers

SkillOpt introduces a systematic text-space optimizer for agent skills that trains skills as external agent state with stable updates and zero deployment inference overhead, achieving superior performance across multiple benchmarks and execution environments.

start-with-why-skillset for agentic workflows

Reddit r/AI_Agents

A developer shares their custom lightweight skillset for agentic workflows, combining elements from superpowers and Matt Pocock's approach, designed for mid-size local models and legacy codebases.

@op7418: https://x.com/op7418/status/2065232309310427565

X AI KOLs Timeline

This article discusses the concept of Skills in the AI agent ecosystem, arguing that Skills are more than prompts—they are packaged capabilities that externalize human expertise into reusable workflow units. The author shares design principles and case studies from building popular Skills.

addyosmani/agent-skills

GitHub Trending (daily)

agent-skills is a collection of production-grade engineering skills designed to enhance the capabilities of AI coding agents.