connection-auth-rules
Fungsinya
Tool ini membantu membuat seperangkat aturan agar sistem (disebut Apollo agent) tahu cara mengubah kredensial Anda (seperti nama pengguna dan password) ke format yang benar untuk terhubung ke sistem lain (seperti database).
Kapan dipakai
- βSaat Anda perlu mengatur bagaimana kredensial Anda digunakan untuk terhubung ke sebuah layanan.
- βSaat membuat atau mengubah aturan autentikasi untuk koneksi tertentu.
- βJika Anda perlu memahami informasi apa saja yang dibutuhkan untuk sebuah koneksi.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/connection-auth-rules/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBantu saya membuat aturan autentikasi untuk terhubung ke database PostgreSQL.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Tool ini pertama-tama menampilkan daftar jenis koneksi yang tersedia. Setelah itu, untuk jenis yang dipilih, tool mengambil informasi yang diperlukan beserta langkah-langkah transformasinya. Terakhir, tool membantu Anda menentukan cara kredensial akan diubah untuk koneksi tersebut.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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)
β¦
Pertanyaan umum
Apa itu 'Connection Auth Rules'?
Itu adalah serangkaian instruksi yang memberi tahu sistem cara menggunakan kredensial Anda (seperti API key, password, dan lainnya) untuk terhubung ke layanan lain dengan aman dan benar.
Apa itu 'Apollo agent'?
Itu adalah sistem yang menggunakan aturan autentikasi untuk memproses kredensial Anda dan membangun koneksi dengan layanan lain.
Apa itu 'transform steps'?
Itu adalah langkah-langkah perantara yang mungkin diperlukan untuk memproses kredensial Anda sebelum digunakan untuk koneksi, misalnya men-decode sertifikat atau menggabungkan informasi.
Detail
Deskripsi asli dari pembuat
Build a Connection Auth Rules for a Monte Carlo connection type. Fetches live connector schemas and transform steps from the apollo-agent repo.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #4238
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
discrawl
394kMemungkinkan agent Anda mencari dan merangkum arsip pesan Discord lokal yang tersimpan, memeriksa seberapa baru arsipnya, dan membaca pesan langsung.
clickhouse-io
280kMembantu agent Anda mengoptimalkan query dan skema di database ClickHouse dengan praktik terbaik analitik berperforma tinggi. Gunakan saat query analitik terlalu lambat.
scientific-db-pubmed-database
280kMembantu agent Anda mencari artikel ilmiah di bidang biomedis. Berguna untuk riset yang membutuhkan informasi medis spesifik.