query-execution

Validate and execute 1C queries against a 1C database.

87|15|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/SteelMorgan/1c-agent-based-dev-framework --skill query-execution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: query-execution
Source: https://github.com/SteelMorgan/1c-agent-based-dev-framework/tree/main/framework/skills/tool-usage/query-execution
Command: npx skills add https://github.com/SteelMorgan/1c-agent-based-dev-framework --skill query-execution

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables agents to safely validate and execute queries against a 1C database, retrieving necessary data without risking syntax errors or performance issues.

Core Features & Use Cases

  • Query Validation: Checks the syntax of 1C queries before execution to prevent errors.
  • Data Retrieval: Executes validated queries to fetch data from the 1C database.
  • Metadata Inspection: Allows agents to inspect database object structures (tables, fields) to build accurate queries.
  • Use Case: An agent needs to find all customers in a specific region. It first uses get_metadata_structure to confirm the customer table and region field names, then validate_query to check the query syntax, and finally execute_query to retrieve the customer list.

Quick Start

Validate and execute the 1C query to select the first 100 documents of type 'SalesOrder'.

Frequently Asked Questions about query-execution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate and execute a 1C query safely?

To validate and execute a 1C query safely, use a process that checks query syntax before execution to prevent errors, then retrieves the requested data from the 1C database.

How do I inspect 1C database metadata structures before building a query?

Inspecting 1C database metadata structures involves checking the database object structures, such as tables and fields, to confirm names and build accurate queries before execution.

Can I retrieve data from a 1C database without risking syntax errors?

Yes, you can retrieve data from a 1C database without risking syntax errors by validating the query language syntax beforehand to ensure correctness before executing the data retrieval.

What is the best way to fetch 1C documents for automated diagnostics?

The best way to fetch 1C documents for diagnostics is to execute validated queries against the 1C database, ensuring syntax correctness and efficient data fetching for analysis.

Does 1C query execution support inspecting tables and fields for specific data retrieval?

Yes, 1C query execution supports inspecting metadata structures like tables and fields, allowing agents to confirm object names and build accurate queries for specific data retrieval.