ワンクリックで
skill-autoctx-bootstrap
// Guides the agent to bootstrap an initial context set (templates & facets) by deducing key information from the database schema and generating a ContextSet file.
// Guides the agent to bootstrap an initial context set (templates & facets) by deducing key information from the database schema and generating a ContextSet file.
Generate and expand datasets of Natural Language Questions (NLQ) and SQL pairs for evaluation.
Guides the agent to execute an evaluation of a generated ContextSet against a golden dataset utilizing the Evalbench framework.
Guides the agent to perform hill-climbing iterations to improve a ContextSet based on evaluation results.
Orchestrates the initialization workflow for auto context generation, and provides helper workflow for setting up dataset connection by creating or updating tools.yaml configurations.
Guidelines and best practices for generating context items (Templates, Facets, Value Searches). Use this skill whenever the user asks to create, author, or generate context for database enrichment, or asks for examples and instructions on how to write templates, facets, or value searches. It helps bridge the gap between LLMs and structured databases.
| name | skill-autoctx-bootstrap |
| description | Guides the agent to bootstrap an initial context set (templates & facets) by deducing key information from the database schema and generating a ContextSet file. |
This skill guides the process of bootstrapping an initial ContextSet (baseline context) from the target database schema.
Before beginning the workflow, you explicitly require:
tools.yaml configuration (located in autoctx/) with database schema fetching tools configured (e.g., <source>-list-schemas).Follow these steps exactly in order:
Condition Check & Schema Retrieval:
sales_db_tuning). A new dedicated subfolder will be created inside the autoctx/experiments/ directory using this name to hold the entire tuning lifecycle and prevent any surprises. Do not proceed until you have their confirmation.autoctx/tools.yaml to fetch the schemas for the target database.Deduce Key Info (Core Execution):
Context Generation (Core Execution):
context-generation-guide skill to produce the context (Templates, Facets, and Value Searches).mutate_context_set MCP tool to save the context items to bootstrap_context.json inside the approved experiment folder. Since this is a new file, construct a list of "operation": "add" mutations for each generated item (Template, Facet, Value Search) and pass them to the tool.Upon successful completion, the workspace must contain:
.json file (bootstrap_context.json) representing the baseline ContextSet, stored successfully at the requested output_file_path.Conclude by providing a succinct summary to the user:
autoctx/tools.yaml to fetch the specific project, location, and instance/cluster details for the active database.generate_upload_url tool passing the extracted values to provide the direct console link to the user.bootstrap_context.json and the generated console link together in a single clear message.