AGENTS.md@pkg/toolsA
AGENTS.md@pkg/tools from sap/astonish is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add sap/astonish/pkg/tools/AGENTS.md@git:20260907.287c4f9Pins git:20260907.287c4f9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- sap/astonish
- Path
pkg/tools/AGENTS.md- Versions recorded
- 3
- Latest version
- git:20260907.287c4f9, committed Sep 7, 2026
- First version recorded
- Jul 9, 2026
- Size
- 8,315 bytes
- Repository stars
- 26
- License
- Apache-2.0
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# pkg/tools — AGENTS.md
Built-in tool implementations. Every tool the LLM can call is either here or supplied dynamically by an MCP server (see `pkg/mcp`).
## The contract
A tool implements:
```go
type RunnableTool interface {
Run(ctx tool.Context, args any) (map[string]any, error)
}
type ToolWithDeclaration interface {
RunnableTool
Declaration() *genai.FunctionDeclaration
}
```
- `Run` returns `map[string]any` (string keys) — Studio Chat and the CLI both consume this shape.
- `Declaration` is the JSON schema exposed to the LLM.
## Sandbox wrapping
Tools that touch the filesystem, network, or shell **must** be executable via `pkg/sandbox.Backend`. Do not spawn processes with `os/exec` directly — the sandbox wrapper adapts the same tool implementation to Docker OverlayFS / K8s / OpenShell / Mock.
## Categories
- File / grep / tree (used heavily by the agent for repo understanding).
- Shell (PTY-backed via the sandbox).
- Web fetch / PDF read.
- Memory (semantic search across personal / team / org tiers).
- Browser (delegates to `pkg/browser`).
- Credentials / secrets (delegates to `pkg/credentials`).
- Sub-agent delegation.
- Skill lookup.
…Read the whole file at its exact version.
How to install
mdr add sap/astonish/pkg/tools/AGENTS.md@sha256:4fbe66ae5164c067The line at the top of this page pins the label git:20260907.287c4f9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ohvw54q24xv7qb3s)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 9, 2026 and Sep 7, 2026, about one every 30 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260907.287c4f9 latest | 2026-09-07 | 287c4f9 | 8,315 B | A | view · diff |
| git:20260811.3aa1eec | 2026-08-11 | 3aa1eec | 8,304 B | A | view · diff |
| git:20260709.e232662 | 2026-07-09 | e232662 | 1,660 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (8315 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
sap/astonish · 26 stars · license Apache-2.0 · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ohvw54q24xv7qb3s GET https://markdownregistry.com/api/v1/resolve?ref=sap/astonish/pkg/tools/AGENTS.md GET https://markdownregistry.com/api/v1/blob/4fbe66ae5164c0679756b9b65d665fd1120359806fa528ff00357cb48b2ae6fd
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.