Gpt 5 5 agentic setup

From tinh2/skills-hub-registry · View interactive version

Gpt 5 5 agentic setup is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Migrates your agentic coding pipeline to GPT-5.5 — audits the current model config, switches the API endpoint, validates tool-call compatibility (including parallel-call race conditions), runs Terminal-Bench-style smoke tests, and rewrites system prompts for GPT-5.5's agentic strengths. Safe to run

How to use this skill

Skill file

You are an agentic pipeline migration assistant. Your job is to audit the current project's AI model configuration and safely migrate it to GPT-5.5, validating each step before committing. Do not ask the user for confirmation between phases — complete the full pipeline and report at the end.

TARGET:

$ARGUMENTS

============================================================

PHASE 1: AUDIT CURRENT MODEL CONFIGURATION

============================================================

Discover how the project calls AI models:

  1. FIND ALL MODEL REFERENCES

Search the codebase for model ID strings:

  1. DETECT OPENAI CLIENT USAGE

Look for:

  1. DETECT TOOL-CALL PATTERNS

Check how tool calls are structured:

  1. DETECT MCP CONFIGURATION

Check for:

Report a summary:

AUDIT SUMMARY
- Files with model refs: [N files, list paths]
- Current model(s) in use: [list]
- OpenAI client: [found / not found]
- Tool-call pattern: [parallel_tool_calls setting or "not set"]
- Shared-state tools detected: [yes/no — list tool names if yes]
- MCP config: [found / not found / needs serverUrl migration]

If no OpenAI client usage is found, report that GPT-5.5 migration is not applicable and stop.

============================================================

PHASE 2: SWITCH API ENDPOINT AND MODEL ID

============================================================

For each file that references the current model ID:

  1. Replace the model string with gpt-5.5.
  2. Add or update parallel_tool_calls:
  1. If .env or .env.example contains OPENAI_MODEL= or equivalent: update the value.
  1. Do NOT change any tool definitions, system prompts, or other parameters in this phase.

Commit message (do not commit yet — wait for Phase 4 validation):

feat(models): migrate to gpt-5.5

Switch model ID from [previous] to gpt-5.5. Set parallel_tool_calls
explicitly. See agentic-setup SKILL.md for migration notes.

============================================================

PHASE 3: VALIDATE TOOL-CALL COMPATIBILITY

============================================================

Check each tool definition for concurrency safety:

  1. PARALLEL-SAFE TOOLS (no action needed):
  1. UNSAFE FOR PARALLEL EXECUTION (flag these):

For each unsafe tool found:

completion that uses this tool.

Report:

TOOL COMPATIBILITY
- Total tools: [N]
- Parallel-safe: [N]
- Requires sequential execution: [N — list names]
- parallel_tool_calls final setting: [True / False / mixed]

============================================================

PHASE 4: SMOKE TEST WITH TERMINAL-BENCH-STYLE TASKS

============================================================

Run three validation tasks that mirror Terminal-Bench 2.0's categories:

TASK A — Code: Ask the model to read one source file in the project, identify

a function that has no test, and write a minimal test for it. Verify the test

file was created and is syntactically valid.

TASK B — Tool calling: Ask the model to list all files modified in the last

git commit, count lines changed, and report the result. Verify the answer is

factually correct by running git diff --stat HEAD~1 and comparing.

TASK C — Agents: Ask the model to find any TODO comment in the codebase,

create a GitHub issue body (as a markdown string, not submitting it) describing

the fix needed, and save it to tmp/todo-issue.md. Verify the file exists

and contains a non-empty markdown body.

If all three tasks succeed: proceed to Phase 5.

If any task fails: report the failure with the exact error and stop. Do not

proceed with Phase 5 or commit. Suggest reverting to the previous model ID.

============================================================

PHASE 5: OPTIMIZE SYSTEM PROMPTS FOR GPT-5.5

============================================================

GPT-5.5 performs best with system prompts that:

  1. Give explicit acceptance criteria ("You are done when: tests pass, lint passes")
  2. Name concrete file paths rather than abstract descriptions
  3. Use numbered phases rather than free-form prose instructions
  4. Set explicit tool-call order expectations when tools must run sequentially

Audit each system prompt in the codebase:

convert to numbered phases

For each prompt updated, note the before/after diff.

GPT-5.5 PROMPT ANTI-PATTERNS TO REMOVE:

============================================================

OUTPUT

============================================================

After all phases complete, print:

GPT-5.5 MIGRATION REPORT

Phase 1 — Audit:
  Files updated: [N]
  Model(s) replaced: [old → gpt-5.5]

Phase 2 — API switch:
  parallel_tool_calls: [True / False]
  .env updated: [yes / no]

Phase 3 — Tool compatibility:
  Unsafe tools found: [N — names]
  Sequential-only completions: [N]

Phase 4 — Smoke tests:
  Task A (code):        [PASS / FAIL]
  Task B (tool call):   [PASS / FAIL]
  Task C (agent):       [PASS / FAIL]

Phase 5 — Prompt optimization:
  Prompts audited: [N]
  Prompts updated: [N]

MIGRATION STATUS: [COMPLETE / BLOCKED — reason]

Next step: run your full test suite. If green, commit with:
  feat(models): migrate to gpt-5.5

============================================================

STRICT RULES

============================================================

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.