🛠️
AI EngineeringRust

Programmatic Tool Calling

by KonghaYao

Programmatic Tool Calling is an AI Engineering skill for Claude Code, published by KonghaYao in peri.

163 stars30 forkson KonghaYao/periAdded 2026/09/08+3% in starsRepository updated 2026/09/07
acpclaude-codecoding-agentdeepseekglmmcpruststreaming-markdowntui
Install in seconds
Install Programmatic Tool Calling
Copy Programmatic Tool Calling into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/KonghaYao/peri/tree/main/peri-middlewares/src/skills/builtin/skills/programmatic-tool-calling ~/.claude/skills/programmatic-tool-calling

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/KonghaYao/peri.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
peri-middlewares/src/skills/builtin/skills/programmatic-tool-calling/SKILL.md in KonghaYao/peri
Installs to
~/.claude/skills/programmatic-tool-calling
Collection
One of 20 skills cataloged from this repository
Category
AI Engineering3670 skills

What Programmatic Tool Calling does

Programmatic Tool Calling discovers extra tools and uses ESM code to compose dependent calls into one bounded run. Use it to filter, join, or summarize structured tool results without returning large intermediates.

Programmatic Tool Calling is cataloged under AI Engineering on DirSkills. Programmatic Tool Calling comes from a repository tagged acp, claude-code, coding-agent, deepseek and glm.

Documentation

README

Programmatic Tool Calling

This builtin skill is named programmatic-tool-calling and keeps the generic alias ptc, so users may invoke it as /ptc.

Use this skill when a task benefits from discovering extra tools and orchestrating several dependent or repetitive calls in one bounded program. It is especially useful for filtering, joining, or summarizing structured tool results without copying large intermediate payloads into the conversation.

Do not use it for a single ordinary tool call, when the required tool is already directly available, for interactive workflows that need user input between steps, or to bypass an approval or access-control boundary.

Workflow

This is the opening of the README. Read the full README on GitHub.

Commands Programmatic Tool Calling provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /ptc

Frequently asked about Programmatic Tool Calling

  • What else does KonghaYao publish alongside Programmatic Tool Calling?

    Programmatic Tool Calling is one of 20 skills that DirSkills catalogs from KonghaYao/peri, the repository it ships in. Its siblings there include Adaptive Devflow, Advisor Consultation and Auto Converge. Each one is a separate skill with its own page in this directory, installs the same way Programmatic Tool Calling does, and is maintained by KonghaYao in that same repository. The rest of the collection is listed on the KonghaYao/peri page.

  • How does Programmatic Tool Calling compare to other AI Engineering skills?

    Programmatic Tool Calling ranks #3394 by stars among the 3670 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Programmatic Tool Calling against them. Open each page to compare what they document and how they install.

More from KonghaYao/peri

Programmatic Tool Calling is one of 20 skills cataloged on DirSkills from KonghaYao/peri.

See all 20 skills
🔧
1h ago

Adaptive Devflow

Adaptive Devflow helps choose a lightweight-to-heavy development workflow for issues, bugfixes, features, and refactors. It guides when to use coordination, review, and verification phases based on task risk and complexity.
Automation
16330
🧭
1h ago

Advisor Consultation

Advisor Consultation uses a tool-free Opus second opinion to evaluate high-risk design trade-offs, unresolved failures, and cross-boundary decisions. Use it after gathering repository evidence when the main agent needs a careful review.
AI Engineering
16330
🔁
1h ago

Auto Converge

Auto Converge refines rules, prompts, and SKILL.md files until agents can follow them reliably. It uses external references and adversarial review loops when a spec is written but not being obeyed.
AI Engineering
16330
🛠️
1h ago

Auto Issue Fixer

Auto Issue Fixer manages an issue from creation through fix, verification, and archival. Use it when someone describes a bug, asks to record a problem, fix an issue, verify a change, or archive a resolved issue.
Automation
16330
📝
1h ago

Blog Writer

Blog Writer provides a style guide for writing Peri project blog posts. Use it when drafting project intros, technical retrospectives, architecture discussions, or performance writeups in the Peri voice.
Writing
16330
🗂️
1h ago

Codebase Index

Codebase Index maps user intents like changing a threshold, tracing an event chain, or finding an entry point to the exact files and functions to open. It is used to quickly locate or rebuild per-crate code indexes for a Rust codebase.
Writing
16330