AI Agents and Skills
Agents, coding agents, agent SDKs and Agent Skills: when to use an existing agent with a skill, and when to build a custom agent.
Agents: What Changed
An agent is an LLM that runs in a loop: it decides on an action, calls a tool, reads the result, and repeats until the task is done. That idea is unchanged. The practice around it has moved.
- General-purpose agents are good enough to start with. Claude Code, OpenAI Codex, Gemini CLI, OpenCode and others work on files, shell and the web, not only on code.
- Small harnesses are an option. Pi, by Mario Zechner, is a minimal open-source (MIT) coding agent: a short system prompt, a few built-in tools, and everything else added through TypeScript extensions, skills and packages. It also offers RPC and an SDK for embedding.
- Skills replace many custom agents. A skill is a folder with instructions that a general agent loads when it needs them.
- MCP is the common way to connect tools. See MCP.
Agent Skills
An Agent Skill is a folder with a SKILL.md file (name, description, instructions) and optional scripts, reference documents and templates. Anthropic published the format in December 2025. In October 2026 it donated the standard to the Agentic AI Foundation (Linux Foundation). Anthropic reports more than 70 agent platforms with support, including Claude Code, ChatGPT, Cursor, GitHub Copilot and VS Code. Codex, Gemini CLI, OpenCode and Pi also load skills.
Skills use progressive disclosure:
- Discovery: at start, the agent sees only each skill’s name and description.
- Activation: when a task matches, it reads the full
SKILL.md. - Execution: it follows the steps and runs bundled scripts or loads reference files as needed.
Many skills cost little context, because only the descriptions are always loaded.
Skill or custom agent?
| Use a skill with a general agent when | Build a custom agent when |
|---|---|
| The task is a procedure someone can write down | The agent must run unattended as a service, on events or a schedule |
| A person is in the loop (developer, analyst, support staff) | Many users or customers need it, with their own permissions |
| The work is mostly files, shell, web, existing MCP tools | You need guaranteed steps, approvals and audit trails in code |
| You want to version it in git and share it across tools | You need strict cost, latency or token limits per run |
| Requirements change often | The model must be controlled or swapped (for example a local model) |
| You are still finding out what the workflow is | It is embedded in your product, with your own UI |
Our default
SKILL.md, add scripts for the deterministic parts, and run it in a general agent. Move to a custom agent only when a row in the right column applies. The skill text is then the specification for that agent.Limits of skills:
- No control over the loop. The model decides whether and how to follow the instructions. For steps that must happen every time, put the logic in a script or in code, or use a workflow.
- Security. A skill can contain scripts and instructions that an agent executes. Treat third-party skills like third-party code. Malicious skills have been found in public registries. Review them, pin versions, and run agents in a sandbox.
- Skill selection is probabilistic. Descriptions need to be specific, and test whether the skill triggers when it should.
- Not a service. A skill needs a host agent with a model, file access and often a shell.
Custom Agents
When a skill is not enough, we build agents on an SDK or in plain code.
Patterns we use
- Single agent with tools: the default. Most tasks do not need more.
- Workflow with LLM steps: fixed sequence, LLM only where judgment is needed. More predictable and cheaper than a free-running agent.
- Orchestrator and sub-agents: a lead agent delegates parts to workers with their own context. Useful for parallel research and for keeping context small. Worth the extra cost only when the subtasks are independent.
- Human approval for irreversible actions: payments, emails, deployments, deletions.
What matters in production
- Least privilege: narrow tool access, scoped credentials, sandboxed execution
- Prompt injection: treat all fetched content as untrusted. Do not combine private data, untrusted input and an outbound channel in one agent.
- Evaluation: task-level test sets and replayable traces, not only unit tests
- Cost and loop limits: maximum steps, tokens and time per run
- Observability: log every tool call and decision (OpenTelemetry traces)
Frameworks and SDKs
| Option | Fits | Note |
|---|---|---|
| Claude Agent SDK | Claude-based agents with files, shell, MCP and skills | The loop behind Claude Code, as a library |
| OpenAI Agents SDK | Lightweight agents with handoffs and guardrails | Python and TypeScript |
| Google ADK | Agents on Google Cloud and Gemini | Multiple languages |
| LangGraph | Stateful workflows that must resume after failures | Graph with explicit state and checkpoints |
| Microsoft Agent Framework | .NET and Python on Azure | Successor to AutoGen and Semantic Kernel, which are in maintenance mode |
| Pi SDK | Embedding a minimal coding agent | MIT, TypeScript, multi-provider |
| Plain code | Simple loops, strict control | Often the clearest choice |
| go-agent (ours) | A portable agent in Go that orchestrates LLMs and MCP tools across local servers (LM Studio, Ollama, vLLM, llama.cpp, Lemonade), cloud APIs and any OpenAI-compatible endpoint | Open source (Apache 2.0); runs on AMD, NVIDIA and Apple Silicon. Documented in detail on Substack |
We choose by fit, not by popularity. Model-agnostic code and an MCP tool layer keep the choice reversible.
Use Cases
Development teams
- Coding agents with project-specific skills (conventions, release steps, review checklists)
- Test generation, documentation, migration work
Research and analysis
- Multi-source research with citations
- Data analysis against databases through MCP tools
Business operations
- Ticket triage, document processing, report generation
- Process automation with approval steps
Implementation Approach
- Discovery: pick one workflow with a clear success measure
- Prototype with a skill: test the procedure in a general agent
- Decide: keep the skill, or build a custom agent where needed
- Guardrails: permissions, sandbox, approvals, limits
- Evaluation: test set and traces before rollout
- Operation: monitoring, cost tracking, regular review
Want to automate a workflow with agents or skills? Contact us.
Related Content
Portfolio
We build systems that have to work under real load: streaming platforms, voice and video, AI …
Getting Started with the Model Context Protocol (MCP)
The Model Context Protocol (MCP) is an open standard, originally developed by Anthropic, for …
Codex-V Knowledge Engine
A Personal Technical Knowledge Engine Codex-V is a local-first knowledge management system for …