connection-auth-rules
Has your agent create authentication rules for connections. It fetches information on how to connect to different systems to ensure security.
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.
Example of what to ask your AI
“Help me create the authentication rules to connect to the PostgreSQL database.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
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.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill connection-auth-rulesOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/connection-auth-rules/SKILL.md -o SKILL.mdTechnical 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
- #2624
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets 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.
sickn33/agentic-awesome-skills
Similar skills
clickhouse-io
Helps 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.
affaan-m/ECC
scientific-db-pubmed-database
Helps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.
affaan-m/ECC
scientific-db-uspto-database
Allows the agent to look up official US patent and trademark data. It's useful for intellectual property research.
affaan-m/ECC