OpenParable
Skip to content
← Back to skills

Schema Infer

Research
schema-infer

Schema Infer is an Agent Skill for research published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Auto-detect metadata conventions for a folder. Triggers on "infer schema", "what conventions", "learn schema", "folder conventions".

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/schema-infer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/schema-infer, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Schema Inference

Auto-detect metadata conventions from your existing notes. Zero configuration - the system learns from what you've already written.

When to Use

Invoke when you want to:

  • Understand what frontmatter fields are standard in a folder
  • Discover implicit schemas from existing notes
  • Find required vs optional fields
  • See naming patterns for files

Arguments

ArgumentRequiredDescription
folderNoFolder to analyze (e.g., "meetings/"). Omit for entire vault.

Process

1. Parse User Input

Recognize schema inference requests:

  • "what conventions does my meetings folder use?"
  • "infer schema for projects/"
  • "what fields should be in daily notes?"

2. Call MCP Tool

mcp__flywheel__infer_folder_conventions({
  folder: "meetings/",
  min_confidence: 0.5
})

3. Format Results

## Inferred Schema: meetings/

Based on 47 notes in this folder:

### Required Fields (>90% presence)
| Field | Type | Common Values |
|-------|------|---------------|
| type | string | "meeting" (100%) |
| date | date | - |
| attendees | array[wikilink] | - |

### Optional Fields (50-90% presence)
| Field | Type | Common Values |
|-------|------|---------------|
| status | string | scheduled (40%), completed (50%), cancelled (10%) |
| tags | array | meeting, standup, review |

### Suggested Computed Fields
- word_count (not currently tracked)
- link_count (not currently tracked)

### Naming Convention
Files follow pattern: `YYYY-MM-DD *.md`

### Coverage
- 94% of notes have frontmatter
- 3 notes may be incomplete (see /schema-gaps)

Use Cases

  • New folder setup: "What schema should my new project folder follow?"
  • Documentation: "Document the metadata conventions for this vault"
  • Consistency check: "Are my meeting notes following a pattern?"
  • Onboarding: "What fields does this team use?"

Integration

Works well with other skills:

  • schema-gaps: Find notes missing expected fields
  • schema-apply: Apply inferred conventions to incomplete notes
  • vault-schema: See vault-wide field overview

Version: 1.0.0