connection-auth-rules
What it does
This tool helps create a set of rules so a system (called Apollo agent) knows how to transform your credentials (like username and password) into the correct format to connect to another system (like a database).
When to use it
- βWhen you need to configure how your credentials are used to connect to a service.
- βWhen creating or modifying authentication rules for a specific connection.
- βIf you need to understand what information is required for a connection.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/connection-auth-rules/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βHelp me create the authentication rules to connect to the PostgreSQL database.β
5 new skills a week. 1 minute to read.
How it works
The tool first lists available connection types. Then, for the chosen type, it fetches necessary information and transformation steps. Finally, it helps you define how credentials will be converted for the connection.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
When to Use
- Use when this upstream workflow matches the user's stated goal.
- Use when the task requires the procedures documented in this skill.
Connection Auth Rules Builder
Use this skill when the user wants to build a Connection Auth Rules (stored as ctp_config) for a Monte Carlo connection. The config is stored on the Connection object in the monolith and tells the Apollo agent how to transform flat credentials into the driver-specific connect_args format.
When to activate this skill
Activate when the user:
- Asks to create, build, or generate a Connection Auth Rules
- Asks what fields are needed for a connection type's Connection Auth Rules
- Wants to customize credential transformation for a connection
- Asks about
MapperConfig,TransformStep, orCtpConfig - Says things like "help me write Connection Auth Rules for X", "what's the connection auth rules format for X"
When NOT to activate this skill
Do not activate when the user is:
- Creating monitors (use the monitor-creation skill)
- Investigating data incidents (use the analyze-root-cause skill)
- Setting up a connection in the UI (this skill builds the JSON config, not UI flows)
Step 1 β List available connection types
Locate the companion script with Bash:
find -L ~/.claude . -name fetch_schema.py -path "*/connection-auth-rules/*" 2>/dev/null | head -1
Then run it:
python3 <script_path> --list
The script outputs JSON. Parse result.connectors β each entry has a name field. Present the names to the user and ask which connection type they want to build a config for.
If the script fails: Show the error output and offer to retry. Do not proceed until you have the connector list.
Step 2 β Fetch the connector schema
Once the user selects a connection type, run the script with that connector name:
python3 <script_path> --connector <name>
The script outputs JSON. Parse result.schema:
output_keysβ the driver-levelconnect_argskeys the mapper must produce (from the connector'sTypedDict)default_field_mapβ the existing default mapping (credential field β Jinja2 template)default_stepsβ any default transform steps already configured
Present a summary to the user:
- The output keys
- The default mapper field_map entries
- Any existing steps with their types
Step 3 β Optionally fetch available transform steps
If the connector's default config (from Step 2) already includes steps, or if the user indicates they need custom transform steps, run:
python3 <script_path> --connector <name> --transforms
Parse result.transforms β each entry has:
nameβ the step type string used in"type"step_inputβ fields the step reads from the pipeline statestep_outputβ derived fields the step writes, referenceable as{{ derived.<key> }}in the mapperstep_field_mapβ typical mapper entry to wire the step's output intoconnect_args
Present the available steps with their full contracts (input, output, and field_map hint).
If the script fails: Tell the user and offer to retry. You can continue without step data β just describe steps as unknown and ask the user to specify them manually.
Step 4 β Build the mapper
Walk the user through each output key in the TypedDict:
- Show the default template from the connector's
MapperConfig(if one exists). - Ask if they want to keep the default or customize it.
- For custom values, help the user write a Jinja2 template expression.
Jinja2 template help
The template context has two namespaces:
rawβ the flat credential dict as received. Use{{ raw.field_name }}to reference a credential field directly. Example:{{ raw.client_id }}derivedβ fields added by transform steps. Use{{ derived.field_name }}to reference a step's output. Example:{{ derived.private_key_pem }}
Common patterns:
- Simple field reference:
"{{ raw.username }}" - Conditional/default:
"{{ raw.port | default('1433') }}" - Concatenation:
"{{ raw.host }}:{{ raw.port }}"
When the user doesn't know their credential field names, remind them these come from the Data Collector's credential dict β the keys are whatever the DC sends for that connection type.
Step 5 β Configure transform steps (optional)
β¦
FAQ
What are 'Connection Auth Rules'?
These are a set of instructions that tell the system how to use your credentials (like API keys, passwords, etc.) to connect to another service securely and correctly.
What is the 'Apollo agent'?
It's a system that uses the authentication rules to process your credentials and establish the connection with other services.
What are 'transform steps'?
These are intermediate steps that might be needed to process your credentials before using them for the connection, like decoding a certificate or combining information.
Details
Original description by the author
Build a Connection Auth Rules for a Monte Carlo connection type. Fetches live connector schemas and transform steps from the apollo-agent repo.
Popularity
- GitHub stars
- 48k
- Ranking position
- #4238
- License
- MIT
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.