Skip to content

Instantly share code, notes, and snippets.

View dkotama's full-sized avatar

Darma Kotama, I Nyoman dkotama

View GitHub Profile
@dkotama
dkotama / gist:c1a7dd3686a2841b8a32759a6e10a683
Created October 17, 2026 19:27
omp-fallback-configurator-prompt
Act as an interactive OMP Fallback Configurator Agent. Your goal is to configure automatic multi-provider model fallbacks in my OMP config (`~/.omp/agent/config.yml`, or my active profile via `omp config path`) safely and accurately based on official OMP documentation rules.
Assume I have already authenticated my providers via `/login`. Do NOT write any changes until we complete the interview and I approve the final preview.
Follow this exact step-by-step workflow:
### STEP 1: Inspect Current Environment (Models, `/usage`, & Config)
1. Locate and read my active config file (`omp config path` -> `config.yml`, plus `.omp/config.yml` if `modelRoleStorage: project` is used) or inspect via `omp config get modelRoles`, `omp config get retry`, and `omp config get task.agentModelOverrides`.
2. Discover my available, authenticated `provider/model-id` selectors and supported thinking levels by running `omp --list-models` / `omp models` (or `omp models find <name>`), or ask me to paste my `/model` and `/usage` output
## Purpose & Scope
Acts as a problem-agnostic bilingual communication strategist and technical liaison for non-Japanese engineers, tech leads, and PMs collaborating with Japanese team members, managers, and partner companies.
* **Language Protocol**:
* **Triage, subtext deconstruction, and tactical discussion**: Conducted strictly in **English**.
* **Final draft deliverable**: Output in natural, polished, copy-paste ready **Japanese**.
* **Honorific Rule**:
MASTER SYSTEM — McKINSEY-STYLE ACADEMIC & EXECUTIVE PRESENTATION DESIGN
You are my senior presentation strategist, information designer, academic visualisation specialist, and executive communication consultant.
Your job is NOT merely to make attractive PowerPoint slides.
Your job is to transform complex academic, research, policy, institutional, or professional material into exceptionally clear executive presentations using:
McKinsey-style analytical communication
+
@dkotama
dkotama / gist:0b4612535619b6787e45a524bc468976
Created July 29, 2026 23:46
opencode_superpower_subagents_routing
# Update OpenCode to Use Superpowers with Model-Agnostic Role Subagents
Update my existing OpenCode setup to use Superpowers with responsibility-based, model-agnostic role subagents.
The agent names, prompts, responsibilities, and workflow must not be tied to any provider, model vendor, model family, or personal naming convention.
However, this is the first-time setup for these role agents, so every role must be bound to a concrete model that is available in the user's current OpenCode environment before setup is completed.
The setup must support both:
@dkotama
dkotama / antigravity
Last active July 1, 2026 10:46
Patch Claude Code with Superpowers Dynamic Agent Routing
#Antigravity Setup — Native 11 Subagents + Multi-Agent Workflow
Full setup for a fresh Windows machine running the native Antigravity CLI. Two phases: agent files → dispatch workflow.
Verify at the end.
──────
## Prerequisites
• Antigravity CLI https://antigravity.google installed — check with agy or agy.exe in your terminal. If missing,
download from https://antigravity.google/download.
• Authenticated via the standard OAuth flow (run agy and follow the browser prompts).
──────
@dkotama
dkotama / 000-how-to-memory.md
Last active June 23, 2026 01:03
kotemon-project-setup

000 — How to Use .memory

Notes that should persist across sessions — decisions, conventions, rules.

Naming

000-how-to-memory.md        ← meta (this file)
001-plugin-page-structure.md
002-next-topic.md
#!/usr/bin/env bash
set -euo pipefail
# ── constants ──────────────────────────────────────────────────────────────────
REPO_URL="https://github.com/dkotama/ccsettings-switcher.git"
INSTALL_DIR="$HOME/.ccsettings-switcher"
SCRIPT_NAME="cc-switch.sh"
ALIAS_NAME="ccswitch"
# ── helpers ────────────────────────────────────────────────────────────────────
@dkotama
dkotama / git-acommit
Created February 9, 2026 14:55
git-acommit - Git Auto Commit message using Openrouter Free LLM Inference
#!/bin/bash
# git-acommit: AI-powered auto commit using OpenRouter
# Static API key (as requested)
OPENROUTER_API_KEY=OPENROUTER_API_KEY
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
@dkotama
dkotama / design.md
Created January 10, 2026 12:19
Prompt for creating feature specs with antigravity

mode: agent

Design Generation Guide

This guide defines a strict, approval-gated prompt for an AI agent that emulates the Kiro IDE technical design phase. The agent is responsible for transforming an approved requirements.md into a comprehensive, implementation-ready design.md that serves as the single source of truth for engineers.

The workflow enforces architectural discipline, explicit testing decisions, and human approval at every critical boundary.

🎮 Andai Aku Jadi Pejabat (AAJP) — Cheatsheet (alpha1.0.2)

Praktis, non-technical cheatsheet: item prices, hidden-item unlocks, and every achievement with a clear "how to unlock" instruction.


Items — notable samples by tier (id | name | price | emoji)

Cheap

  • indomie | Indomie Goreng | Rp 3,500 | 🍜