Przejdź do treści
Biblioteka skilli
AI i agenci · Przegląd i audyt

agent-tool-contract-review

/agent-tool-contract-review

Recenzuje narzędzia, funkcje MCP, komendy CLI i wygenerowane instrukcje jako kontrakty dla agentów, wykrywając dwuznaczne, niebezpieczne, hałaśliwe lub trudne do poprawnego wywołania opisy i schematy.

Licencja
MIT
Ostatnia zmiana repozytorium
14.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Recenzuje narzędzia, funkcje MCP, komendy CLI i wygenerowane instrukcje jako kontrakty dla agentów, wykrywając dwuznaczne, niebezpieczne, hałaśliwe lub trudne do poprawnego wywołania opisy i schematy.

Oryginalny opis (EN)

Review tools, MCP functions, CLI commands, SET inputs, and AGENTS.md generator outputs as agent-facing contracts. Use when a tool description, schema, workflow input, or generated instruction may be ambiguous, unsafe, noisy, or hard for agents to call correctly.

Jak działa

  1. Use When
  2. Adaptation Delta
  3. Review Dimensions
  4. Workflow
  5. Output Shape
  6. Guardrails
  7. Provenance
Sekcje z nagłówków SKILL.md, w oryginale · 66 linii, 469 słów
Podgląd SKILL.md
---
name: agent-tool-contract-review
description: Review tools, MCP functions, CLI commands, SET inputs, and AGENTS.md generator outputs as agent-facing contracts. Use when a tool description, schema, workflow input, or generated instruction may be ambiguous, unsafe, noisy, or hard for agents to call correctly.
license: MIT
metadata:
  abvx_status: experimental
  abvx_origin: adapted
---

# Agent Tool Contract Review

Use this skill to make a tool easier and safer for agents to call.

## Use When

- designing or reviewing MCP tools, CLI wrappers, GitHub Actions inputs, or SET planner outputs;
- changing AGENTS.md generator templates that tell agents which commands or tools to use;
- a tool has ambiguous parameters, hidden side effects, noisy output, or weak error messages;
- agent runs repeatedly misuse a command or need human intervention after avoidable failures.
- adapting an external skill, contract, or workflow into the local skill network.

## Adaptation Delta

Before writing an adapted external skill, classify each material source fragment in `templates/adaptation-delta.yaml`:

- `KEEP`: retain source mechanics or schema without semantic change;
- `ADAPT`: change paths, tools, authority, terminology, or environment assumptions;
- `ADD`: introduce local guardrails, routing, verification, or project boundaries;
- `REJECT`: exclude a fragment and record the reason plus source reference.

Every entry requires a stable ID and source fragment reference. Present the complete delta to the owner before writing. Record `APPROVED`, `REVISE`, or `REJECTED`; silence is not approval. Preserve attribution and license constraints independently of the classification.

## Review Dimensions

- purpose: what job the tool owns and what it does not own;
- schema: required fields, optional fields, enums, defaults, and validation;
- authority: read-only, proposal-only, write, destructive, external side effect;
- output: compact, structured, parseable, and stable enough for downstream agents;
- errors: actionable messages with the smallest useful recovery step;
- idempotency: safe retries, duplicate handling, and idempotency keys when needed;
- auditability: logs, dry-run mode, preview mode, and human approval boundary.

## Workflow

1. Identify the agent-facing tool surface and its intended caller.
2. Classify the authority level: `read`, `plan`, `proposal`, `write`, or `destructive`.
3. Check whether the name, description, schema, and examples make the safe path obvious.
4. Check whether the output can be consumed without reading a large log.
5. Check error paths and retry semantics.
6. Recommend the smallest contract change: rename, tighter schema, dry-run, better error, structured output, or approval gate.

## Output Shape

Use:

- verdict: `CONTRACT_OK`, `CONTRACT_AMBIGUOUS`, or `CONTRACT_UNSAFE`;
- tool surface reviewed;
- authority level;
- contract findings;
- smallest contract changes;
- tests or smoke checks.

## Guardrails

- Do not redesign the whole tool when a schema or description change is enough.
- Do not hide write or destructive behavior behind friendly wording.
- Do not require agents to infer defaults that can be encoded in schema.
- Do not make logs the primary machine interface when structured output is feasible.
- Do not silently omit or rewrite upstream behavior during adaptation.

## Provenance

Adapted from tool-design patterns in `muratcankoylan/Agent-Skills-for-Context-Engineering`, plus MakerSkills' explicit keep/adapt/add porting report. Narrowed for SET, AGENTS.md generator, MCP, CLI, and provider-neutral skill adaptation, with an added `REJECT` disposition and owner gate.
Pliki w paczce (4)
  • SKILL.md 4 KB
  • SKILL_CARD.md 2 KB
  • agents/openai.yaml 1 KB
  • templates/adaptation-delta.yaml 1 KB

Wersje

W bazie nie ma innych skilli o nazwie agent-tool-contract-review.

Migawka bazy z 28.10.2026 · wersja paczki 8384dcab6d91 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100agent-tool-contracts
    Projektuje narzędzia agentów i powierzchnie CLI: schematy, nazewnictwo, błędy, idempotencję i wykrywalność dla wywołujących je modeli LLM.
  • 100conventions-mcp
    Wymusza kontrakty narzędzi MCP, które modele językowe potrafią obsługiwać: schematy wejścia i wyjścia, opisy, koperty błędów i zasoby referencyjne, mierzone ewaluacjami.
  • 100mcp-tool-generator
    Projektuje narzędzia MCP: schematy wejścia i wyjścia, zarys logiki handlera, zasady idempotentności i opisy dla agentów zapewniające niezawodne wywoływanie narzędzi.
  • 100mcp-tool-dev
    Tworzy narzędzia MCP: funkcje narzędzi, handlery, schematy, opisy i walidację wejścia, z wzorcami FastMCP, dobrymi praktykami opisów narzędzi Anthropic i strategiami testów.
  • 95ml4t-agent-tool-contracts
    Definiuje typowane kontrakty narzędzi dla autonomicznych agentów badawczych, gdy agentowi LLM udostępnia się pliki, wyszukiwanie, bazy danych lub narzędzia wykonawcze.
  • 100mcp-builder
    Projektuje i implementuje serwery MCP: narzędzia, zasoby, prompty, schematy i kontrakty błędów dla klientów agentowych, np. agentów Cursor i Claude.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.