generate-client skillA
generate-client is agent-read markdown (skill) from arthur-ai/arthur-engine: Regenerate the arthur_genai_client package from the GenAI Engine OpenAPI spec. Use when the GenAI Engine API has changed, or when python/src/arthur_genai_client/ is missing after a fresh clone..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Regenerate the Arthur GenAI API Client
The `arthur_genai_client` package under `python/src/` is auto-generated and gitignored.
It must be present before running tests, linting (mypy), or using prompt management features.
## Steps
### 1. Check prerequisites
```bash
node --version # needs Node.js (any recent LTS)
java -version # needs Java 11+
```
If either is missing, tell the user to install them and stop.
### 2. Generate and install
From the `arthur-observability-sdk/` directory:
```bash
./scripts/generate_openapi_client.sh generate python
./scripts/generate_openapi_client.sh install python
```
`generate python` will:
- Install / update `openapi-generator-cli` via npm if needed
- Read `genai-engine/staging.openapi.json`
- Write the generated package to `python/src/arthur_genai_client/`
`install python` runs `uv sync` to register the generated package in the venv.
### 3. Verify
```bash
python -c "from arthur_genai_client.models.agentic_prompt import AgenticPrompt; print('OK')"
```
If that prints `OK`, the client is ready. If it errors, re-run step 2.
## Notes
…Read the whole file at its exact version.
How to install
mdr add arthur-ai/arthur-engine/generate-client@git:20260407.50741a3mdr add arthur-ai/arthur-engine/generate-client@sha256:f1db7d53e932a8d8Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_rt4mdxdivsvxgf2z)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260407.50741a3 latest | 2026-04-07 | 50741a3 | 1,720 B | A | view · diff |
| git:20260317.53f05ea | 2026-03-17 | 53f05ea | 1,727 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1720 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
arthur-ai/arthur-engine · 90 stars · license MIT · pushed 2026-09-24 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_rt4mdxdivsvxgf2z GET https://markdownregistry.com/api/v1/resolve?ref=arthur-ai/arthur-engine/generate-client GET https://markdownregistry.com/api/v1/blob/f1db7d53e932a8d8e0b4cdc5d3dcd23e94ab0e49d26821c576956e75c37043b4
Your agent 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.