A zero-dependency developer utility to instantly infer clean, type-safe Pydantic, Zod, TypeScript, and Go schemas from messy, real-world sample data.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install phy-schema-sleuth
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install phy-schema-sleuth using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Schema Sleuth is a highly specialized developer utility designed to streamline code-generation and data-modeling tasks within your AI coding workflows. By analyzing up to five samples of unstructured or messy data—including nested JSON objects, API responses, CSV sheets, and raw LLM text—this tool identifies field nullability, marks optional parameters, and detects complex semantic structures such as UUIDs, email addresses, and ISO timestamps. Unlike simpler single-pass converters, it leverages advanced multi-sample logic to build a comprehensive field inventory, ensuring your target language definitions are accurate, robust, and clean.
Integrating this tool with your workspace via Openclaw Skills allows your AI coding assistant to operate as an intelligent systems architect. By validating and modeling sample payloads on the fly without any reliance on external APIs, it delivers secure, private, and localized code generation for Python, TypeScript, and Go backend-to-frontend pipelines.
Integrate this schema inference tool natively within your developer workflows using the following environment setup:
# Create the local skills directory for your agent profile
mkdir -p ~/.config/openclaw/skills
# Pull down the Schema Sleuth skill file to initialize capability tracking
curl -fsSL https://raw.githubusercontent.com/PHY041/schema-sleuth/main/SKILL.md -o ~/.config/openclaw/skills/schema-sleuth.md
Once added, Openclaw Skills dynamically indexes this resource to handle commands like /schema-sleuth or natural language queries like infer schema across your development console.
The utility maps input data elements to target validation schemas using the following taxonomic structure:
| Native Format | Detected Semantic Pattern | Pydantic v2 (Python) | Zod Schema (TS) | TypeScript Interface | Go Struct Type |
|---|---|---|---|---|---|
| String | Standard alphanumeric text | str |
z.string() |
string |
string |
| String (Email) | user@domain address structure |
EmailStr |
z.string().email() |
string |
string |
| String (UUID) | v4 format compliant string | UUID |
z.string().uuid() |
string |
string |
| String (Date) | ISO 8601 formatted datetime | datetime |
z.string().datetime() |
string |
time.Time |
| Integer | Positive or negative integers | int |
z.number().int() |
number |
int |
| Float | Fractional decimal numbers | float |
z.number() |
number |
float64 |
| Mixed / Null | Optional or empty fields | Optional[T] = None |
z.lazy().nullable() |
T or null |
*T |
| Object | Nested keys and child models | BaseModel subclass |
z.object() |
interface |
struct |
safeParse wrapper loops) to fast-track script integration.Loading
Flag Janitor is a local, privacy-first technical debt analyzer that detects stale, hardcoded, or undefined feature flags and generates precise refactoring plans to clean them up.

Error Writer automatically rewrites bad error messages and exception strings into clear, actionable variants tailored perfectly for end-users, APIs, and system logs.

Prompt Diff delivers a rich behavioral and semantic changelog for LLM system prompts and agent instructions rather than simple line-by-line diffs.

A local, agent-native data contract enforcer that prevents silent pipeline failures by validating schemas and detecting drift between pipeline stages.

Automatically draft, track, and supersede Architecture Decision Records (ADRs) directly from your codebase history or natural language prompts.

Git Branch Janitor is an intelligent branch audit and cleanup assistant that analyzes local and remote repositories to generate safe, copy-pasteable cleanup plans without losing unpushed work.








































