Skip to content

Instantly share code, notes, and snippets.

@thesammykins
thesammykins / amp-gpt-5.6-modes.ts
Last active August 7, 2026 10:19
A plugin for ampcode to remap various agents and tools over to chatgpt subscription native models and tools.
// This is now basically redundant because Amp will adjust mode model avaliability based on if the subscription is added
// which negates all usefulness this plugin has or would ever have, still handy for gemini via ai studio though
import type { PluginAPI } from '@ampcode/plugin'
import { spawn } from 'node:child_process'
import { mkdtemp, readdir, readFile, rm, stat } from 'node:fs/promises'
import { homedir, tmpdir } from 'node:os'
import { basename, extname, join } from 'node:path'
// @amp-agent-mode {"key":"openai-low","label":"OpenAI Low"}