Skip to content

Instantly share code, notes, and snippets.

@darkedges
darkedges / README.md
Created June 6, 2026 00:10
Claude Opus as orchestrataor and sonnet as implementation/review

Opus Orchestrator + Sonnet Subagent Workflow for Claude Code

Run Claude Code with Opus as the orchestrator and Sonnet as the implementation/review subagents — keeping the main session focused and cheap while delegating the heavy lifting to isolated workers.


File Layout

.claude/
user_id first_name last_name email department status entitlements manager_id
1001 Alice Smith alice.smith@example.com Finance active R001|G001|G002 0000
1002 Bob Johnson bob.johnson@example.com Engineering active R002|G001|G002|E001 1001
1003 Carol Williams carol.williams@example.com Sales active R003|G001 1001
1004 David Brown david.brown@example.com Engineering active R002|G001|G002|E001 1002
1005 Eve Davis eve.davis@example.com Finance inactive R001|G001 1001
1006 Frank Miller frank.miller@example.com Support active R004|G001|E002 1001
1007 Grace Wilson grace.wilson@example.com Marketing active R005|G001|G002 1001
1008 Henry Moore henry.moore@example.com IT active R006|G001|G003|E003 1002
1009 Ivy Taylor ivy.taylor@example.com Sales active R003|G001 1003
@darkedges
darkedges / NetworkAttachmentDefinition.yaml
Last active April 22, 2025 12:37
WSL2, Kind and Multus
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: ipvlan-def
spec:
config: '{
"cniVersion": "0.3.1",
"type": "ipvlan",
"master": "eth0",
"mode": "l2",
@darkedges
darkedges / apply
Last active October 1, 2024 19:44
Terraform Microsoft Entra Enterprise Application
data.azuread_application_published_app_ids.well_known: Reading...
data.azuread_client_config.current: Reading...
data.azuread_client_config.current: Read complete after 0s [id=4161be3f-bf2b-41d4-a02b-e6f82b529d53-04b07795-8ddb-461a-bbee-02f9e1bf7b46-937d010e-979d-47f9-a81d-901ff373e168]
data.azuread_application_published_app_ids.well_known: Read complete after 0s [id=appIds]
data.azuread_service_principal.msgraph: Reading...
data.azuread_service_principal.msgraph: Read complete after 0s [id=f8407232-7631-4fb5-a3e4-96761270021c]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
@darkedges
darkedges / values.yaml
Created September 23, 2024 23:22
Kong Deployment
gateway:
image:
repository: darkedges/kong
tag: "3.7"
env:
plugins: bundled,phantom-token,opa,ping-auth
database: postgres
PG_DATABASE: kong
PG_HOST: postgresql.postgresql
PG_USER: kong_user
2024/07/22 03:56:24 [debug] 1337#0: *1358 [lua] http_connect.lua:253: execute_original_func(): poolname: https:xx.xx.xx.xx:443:true:xx.xx.xx.xx:false:::
2024/07/22 03:56:24 [debug] 1337#0: *1358 [lua] access.lua:28: [ping-auth] Sending sideband request to policy provider:
POST /sideband/request HTTP/1.1
Connection: Keep-Alive
Content-Length: 1754
Content-Type: application/json
Host: pingauthorize-pingauthorize.ping:443
PDG-TOKEN: KongGateway
{"url":"https://kongapi/provider/api/records/10","source_port":"50528","http_version":"1.1","headers":[{"cdn-loop":"cloudflare"},{"user-agent":"PostmanRuntime/7.40.0"},{"x-forwarded-proto":"https"},{"cf-ipcountry":"AU"},{"x-forwarded-for":"xx.xx.xx.xx"},{"cf-ray":"8a70802efff3a82f-SYD"},{"authorization":"Bearer xx.xx.xx"},{"cf-visitor":"{\"scheme\":\"https\"}"},{"connection":"keep-alive"},{"cf-warp-tag-id":"d6e4eccf-36b3-4a97-a53f-cda85996d4a8"},{"cf-connecting-ip":"xx.xx.xx.xx"},{"postman-token":"0c294140-9a99-465c-b202-1a704bea1a53"},{"accept-encoding":"gzip, br"},{"h
{
"metadata": {
"realm": "/connectid",
"amsterVersion": "7.5.0",
"entityType": "OAuth2Clients",
"entityId": "BackChannel",
"pathParams": {}
},
"data": {
"_id": "BackChannel",
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
ingress.kubernetes.io/affinity: cookie
ingress.kubernetes.io/enable-cors: "false"
@darkedges
darkedges / FRDevOps.txt
Last active July 2, 2018 20:00
FRDevOps.txt
choco install kubernetes-helm
choco install minikube
git clone https://github.com/ForgeRock/forgeops.git
git checkout release/6.0.0
git clone https://github.com/ForgeRock/forgeops-init.git
git checkout release/6.0.0
minikube start