agenticx-tool-creator

agenticx-tool-creator is a skill for Claude Code, Codex from DemonDamon/AgenticX. It costs 63 tokens per session (899 once invoked), scanned A, original, Apache-2.0.

A guide for creating tools that software agents can call. It covers simple Python functions, stateful class-based tools, and remote tools exposed through MCP, a standard way for applications to provide tools to AI agents.

In plain words
What is it for?
Use it to add functions such as web or file search to an AgenticX agent, build tools that keep state, connect MCP servers, or register remote tools.
Why use it?
It gives developers a defined way to describe tool inputs and outputs so agents can discover and use them. It also helps choose between a small function, a reusable class, or an external tool service.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add functions such as web or file search to an AgenticX agent, build tools that keep state, connect MCP servers, or register remote tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/demondamon/agenticx/agenticx-tool-creator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DemonDamon/AgenticX --skill agenticx-tool-creator
Clone the repo
git clone --depth 1 https://github.com/DemonDamon/AgenticX

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agenticx-tool-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/demondamon/agenticx/agenticx-tool-creator.svg)](https://agentmods.dev/skills/demondamon/agenticx/agenticx-tool-creator)
Your own site
<a href="https://agentmods.dev/skills/demondamon/agenticx/agenticx-tool-creator"><img src="https://agentmods.dev/badge/skills/demondamon/agenticx/agenticx-tool-creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 899 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00899
Opus 5 $0.00032 $0.00449
Sonnet 5 $0.00013 $0.00180
Haiku 4.5 $0.00006 $0.00090

Measured 2d ago against content hash 32fa93ca011b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

agenticx-tool-creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agenticx/skills/agenticx-tool-creator/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AgenticX Tool Creator

Guide for building tools that extend agent capabilities.

Tool Architecture

AgenticX tools inherit from BaseTool and are consumed by agents during execution. Three approaches exist:

  1. Function decorator (@tool) — fastest for simple tools
  2. Class-based (extend BaseTool) — for complex or stateful tools
  3. MCP remote tools — for external services via Model Context Protocol

Function Decorator Tools

from agenticx.tools import tool

@tool
def search_web(query: str) -> str:
    """Search the web for information.

    Args:
        query: The search query string.

    Returns:
        Search results as text.
    """
    # implementation
    return f"Results for: {query}"

@tool
def read_file(path: str) -> str:
    """Read contents of a local file."""
    with open(path) as f:
        return f.read()

The @tool decorator reads the function signature and docstring to generate the tool schema automatically. The docstring is the tool description the LLM sees.

Class-Based Tools

For tools needing initialization, state, or complex logic:

from agenticx.core import BaseTool

class DatabaseQuery(BaseTool):
    name = "database_query"
    description = "Query the project database."

    def __init__(self, connection_string: str):
        super().__init__()
        self.conn = connect(connection_string)

    def _run(self, sql: str) -> str:
        return self.conn.execute(sql).fetchall()

Tool Registry

Register and discover tools globally:

from agenticx.core import ToolRegistry

registry = ToolRegistry()
registry.register(search_web)
registry.register(read_file)

# List all registered tools
for t in registry.list_tools():
    print(f"{t.name}: {t.description}")

MCP Integration

AgenticX supports the Model Context Protocol for remote tool access.

Connecting to an MCP Server

from agenticx.protocols import MCPClient

client = MCPClient(server_url="http://localhost:3000")
tools = client.list_tools()

# Use MCP tools like local tools
result = client.call_tool("search", {"query": "AI agents"})

Read the full file on GitHub · 146 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed 32fa93ca011b
  2. 7d ago First seen · 146 lines · 63 tokens per session scan A 2acaad120851

Subscribe to this mod's changes

agenticx-tool-creator is a skill published in the GitHub repository DemonDamon/AgenticX (228 stars, last pushed yesterday), licensed Apache-2.0. It adds 63 tokens to every session and 899 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.