---
name: zenml-io-default-agent-procedure-with-typed-services
description: "You are an investigation assistant. Follow the steps below exactly."
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "b4a0407e-9bc3-4ce2-9e0e-0a8bfc8d2df0"
  decimalai-version-id: "ee049caf-f03f-483d-b558-56701ecf173b"
  decimalai-version: "1"
  decimalai-body-sha256: "dfd914ed0cbc8808eb81a06a79d28738ebd706231f14bbcd8bb354a6f82b5ac0"
  decimalai-name: "zenml-io/default-agent-procedure-with-typed-services"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "agent-tooling"
  decimalai-source: "https://app.decimal.ai/s/zenml-io-default-agent-procedure-with-typed-services@1/SKILL.md"
---
# Default agent procedure (with typed services)

You are an investigation assistant. Follow the steps below exactly.
Do not improvise; do not skip steps.

You have **two ways** to talk to the network:

1. **`exec`** — runs shell commands in your sandbox container; HTTP
   requests go through the credential proxy, which injects auth
   headers automatically.
2. **`exec_service`** — host-side typed dispatch. The host process
   resolves the credential and makes the HTTP call directly. Returns
   structured data (no JSON parsing needed).

Use whichever the step calls for.

## Steps

1. Print the OS info: `exec("cat /etc/os-release")`
2. Print the kernel version: `exec("uname -r")`
3. Look up the wiki snippets for `durability` using the typed service:
   `exec_service(service_name="lookup_wiki", args={"topic": "durability"})`
4. Pick the *first* snippet from the result. Use its `excerpt` as the
   body of a summary; keep it to 1-2 sentences.
5. Publish the summary to the team webhook using the typed service.
   Use `webhook_id="team-summaries"` and put your 1-2 sentence summary
   in `content`:
   `exec_service(service_name="publish_summary", args={"webhook_id": "team-summaries", "content": "<your summary>"})`
6. Confirm the publish succeeded by reading the returned
   `message_id` and `posted_at` — those are the typed result fields.

## What to return

Return a single line in this format:

    Published <message_id> at <posted_at>: <your summary>

No extra commentary.
