/agentic-engineering:safe-api-tool-callsfrom Agentic Engineering Skills
Implements, adapts, or reviews safe external API tool calls in Python/ADK projects with selective retries, cooperative deadlines, idempotent writes, and confirmation-gated side effects.
Ships in Agentic Engineering Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Deliver a small integration change or an actionable review that bounds API work, preserves operation identity and reports uncertain outcomes honestly. Work with the target's existing clients, tool interfaces, package manager and tests. The book and companion repository are not dependencies.
For a bounded, read-only inventory, resolve SKILL_DIR to this skill's installed directory and run the helper with an available Python 3.11+ interpreter (interpreters). If none is available, inspect manually without changing the target's Python version:
python "$SKILL_DIR/scripts/inspect_project.py" --project .
The helper reads source and declarations without importing project code, loading .env, running commands or contacting services. Its signals direct inspection; they do not certify safety or report the installed dependency versions. Read inspection limits when using its output. A partial scan is a reason to inspect the omitted area, not a clean result.
| Mode | Decision and reference |
|---|---|
| Read or replay-safe request | Read reads and deadlines; implement selective retries and separate transport, attempt and complete-operation budgets. |
| State-changing request or approval flow | Read writes and confirmation before enabling retries. If replay safety is unknown, retain a single attempt and an honest uncertain result; prepare reconciliation or a provider-contract question. |
| ADK integration setup, project migration or local runtime cleanup | Read ADK operations for configuration precedence, actual runtime identity, recoverable API activation and owned local state. This supplies no managed application deployment recipe. |
| Review or recommendation | Use the applicable reference above. Compare guarantees against actual control flow and tests; report concrete findings without changing code unless requested. |
A request may need both read and write paths. Keep them in the same skill; do not replace the application with a demonstration project or introduce a database solely because the chapter discusses one.
State a short plan naming the affected boundary and tests before broad edits. Reuse an existing retry layer, operation store and result contract where they can express the required guarantee. Change public interfaces only when necessary, identifying affected callers.
Put retry policy in trusted code and make it provider-specific. Distinguish internal attempts from a new tool invocation. A bounded tool call is not a bounded model conversation. Preserve caller cancellation and inspect the actual deadline object's state before attributing a timeout.
For a write, preserve the same authorised logical operation, canonical payload and provider replay identity across permitted retries; a workflow node that re-runs on resume (ADK 2.9.0 and later) is a retry in this sense, see writes and confirmation. Reconcile an ambiguous outcome; a later rejected attempt does not establish that earlier attempts had no effect. Durable recovery, exact money and business authorisation are production design requirements, not features supplied by this skill or by a mock test.
For ADK, test the real tool wrapper and chosen client/session path. Missing or rejected confirmation must not run the side effect. Rejection should be explained as cancellation with no attempt, separately from provider uncertainty. Confirmation does not authenticate the caller; prompt instructions do not deterministically block another approved tool call.
Inspection is read-only, and code generation authorises no deployment, paid call or live test. Before any consequential operation (an API, billing or quota change, a billable resource, a secret, IAM, a data migration, a deployment, a deletion, or a paid or destructive test), read consequential operations, present the exact scope and limits, obtain explicit approval and end the turn to wait for it. Cleanup is a separate confirmed operation on resources this workflow created.
Keep configuration examples synthetic and configurable.
Read validation and reporting for the selected behaviour. Run the project's existing checks without network calls by default. Cover the public tool/client boundary, real cancellation or retry sleeps where relevant, transient recovery, terminal failure and the write/confirmation invariants. Do not substitute a print-only random demo for assertions.
For ADK HTTP/confirmation tests, live-call limit enforcement or latency diagnosis, also read ADK verification. It explains the concrete test boundaries and failure diagnosis behind the historical results.
On a second invocation, inspect existing changes and recorded state, rerun the relevant checks, and avoid duplicating wrappers, configuration, keys or resources. If the pinned version cannot support the chosen implementation, identify the incompatible API and stop that path; adapt within the existing version or request a version decision rather than silently changing dependencies.
Report files changed, commands and actual results, remaining actions, and unverified behaviour. Measure successful retrieval separately from response time, including error responses. Never promote a mock payment, a source syntax check or a historical test into production integration proof.
Label each result with its tier (offline, local, live or release) and
outcome (pass, fail, blocked or not run) as
evidence labels defines them;
earlier, vendor and documentation-only results are historical,
vendor-measured or guidance, never this session's evidence.
Independent community project; not affiliated with or endorsed by Google.
LICENSE (opens in a new tab)agents/openai.yaml (opens in a new tab)references/adk-operations.md (opens in a new tab)references/adk-verification.md (opens in a new tab)references/compatibility.md (opens in a new tab)references/inspection.md (opens in a new tab)references/operating-rules.md (opens in a new tab)references/reads-and-deadlines.md (opens in a new tab)references/validation.md (opens in a new tab)references/writes-and-confirmation.md (opens in a new tab)scripts/inspect_project.py (opens in a new tab)tests/test_inspect_project.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ruslankhis/agentic-engineering-skills --plugin agentic-engineering26 skills in this plugin
/adk-agent-evaluationBuild, adapt or audit a Python ADK agent's test strategy: deterministic tool and Runner tests, live eval sets, simulated conversations, conformance replay, strict result checks and quote or citation support. Use for agent behaviour, regression coverage, eval reliability, fixing a failed stage without re-running paid earlier ones, holdout budgets, error analysis on a labelled dev set to fix wrong decisions, measuring each prompt, exemplar or model change, and subject-matter expert labelling: failure taxonomy, inter-rater agreement and judge calibration. Do not activate for non-agent unit tests, standalone model benchmarks, deployment or cleanup alone, prompt wording or exemplar design (adk-agent-instructions), model settings (adk-model-and-output-contracts), wiring eval gates into CI (adk-release-engineering), production telemetry (adk-agent-observability), adversarial suites (adk-agent-security) or presenting results (adk-presenter)./adk-agent-instructionsDesign, review or repair the instructions of Python Google ADK agents, covering instruction structure and altitude, session-state templating, tool-use guidance inside the prompt, sub-agent descriptions for routing, few-shot exemplar design, the instruction-versus-code division, model-generation prompt notes and prompt-as-code layout with change tests. Use when an agent follows its prompt poorly, over- or under-calls tools, routes to the wrong sub-agent, raises templating KeyErrors, or a prompt must move to a new model generation. Do not activate for the measured evaluation loop (adk-agent-evaluation), orchestration or a key an earlier agent's output_key never wrote (adk-workflow-design), tool docstrings and parameter schemas (adk-tool-interface-design), output schemas or model configuration (adk-model-and-output-contracts), releasing prompt versions (adk-release-engineering), or injection-screening products (protect-adk-sensitive-data).Other plugins' skills for the same job