fix: YAML frontmatter and GPT-5 model fallback

- Fix invalid YAML in SKILL.md argument-hint (closes #8)
  Wrapped value in single quotes to properly escape double quotes

- Add automatic model fallback for GPT-5 access errors (closes #9)
  When OpenAI returns 400 for unverified orgs, retry with gpt-4o

- Add tests for model fallback logic

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Matt Van Horn
2026-01-28 11:07:33 -08:00
parent 3a4a727f4b
commit 6cc7dad86e
3 changed files with 146 additions and 21 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
---
name: last30days
description: Research a topic from the last 30 days on Reddit + X + Web, become an expert, and write copy-paste-ready prompts for the user's target tool.
argument-hint: "[topic] for [tool]" or "[topic]"
argument-hint: '"[topic] for [tool]" or "[topic]"'
context: fork
agent: Explore
disable-model-invocation: true