Skip to content

Instantly share code, notes, and snippets.

View jcohen66's full-sized avatar

Jonathan T. Cohen jcohen66

View GitHub Profile
@jcohen66
jcohen66 / ai_snake_game_prompt.md
Last active July 19, 2026 18:21
AI Snake Game Prompt #ai #snake #game #prompt

Create a Snake game using HTML, CSS and JS. Requirements: Arrow key controls. Food that increases the score. Snake grows after eating food. Game over on wall or self collision. Restart button. Once complete launch the game in the browser.

@jcohen66
jcohen66 / ai_skill_leverage_scripts.md
Last active July 18, 2026 17:15
AI Skill To Leverage Scripts #ai #claude #skill #script #prompt

Enhance Skills to Leverage Scripts

Prompt

Analyze my project and identify any steps in my existing skills that can be programmatic scripts.  Share those skills as well as how you'd migrate them to script optimized skills.

Reveiw my entire conversation history to identify any additional skills I create.
@jcohen66
jcohen66 / ai_skill_eval.md
Last active July 15, 2026 23:47
AI Skill Evals #ai #skill #eval #test #claude

10 Best Practicees For Skill Evals

Industry standards from Google, Anthropic, OpenAI and LangChain

Start with the skill description

Trigger problems cause 50% of failures. A vague description causes missed triggers or fales fires. Fix descriptions first.

Write directives over passive info

Models follow instructions better than inferring implications. "Always use X" works. "X is recommended" gets ignored.

@jcohen66
jcohen66 / ai_tools_bottleneck.md
Last active July 15, 2026 23:23
AI Tools To Solve Bottleneck #ai #tools #bottleneck #claude #gemini #skill #loop #routine #artifact

https://www.youtube.com/watch?v=3Y6kVI3fR9c

5 Tools To Help You Solve Bottleneck

Skills

A framework that allows Claude to easily repeat the same steps whenever a specific skill is called.

Loop

A way to have Claude continuously run until a goal is complete.

@jcohen66
jcohen66 / ai_prompt_tuning_claude.md
Created July 15, 2026 13:17
AI Prompt Tuning #ai #claude #prompt #tuning

How To Prompt Better

Task

Give the goal.

Skill

If you explain something 2x then save it as a skill.

Effort

Pick the model.

@jcohen66
jcohen66 / ai_anatomy_of_claude_skill.md
Created July 14, 2026 21:58
AI Anatomy of a Claude Skill #ai #claude #skill #anatomy

Name

The unique descriptive name of the skill

Description - [What it does] + [When to use it]

Use this whenever the user [situation], says "[phrase]", "[phrase]", or wants to [task] -- even if they don't say "[skill name]" directly.

Purpose - [What this does]

[One sentence a brand-new hire would understand.]

Step - In the order you actually do them

@jcohen66
jcohen66 / ai_open_models.md
Created July 14, 2026 21:21
AI Open Models #ai #open #model

Local

Open

Served

  • modelgguf
  • one file

Served Right: Reasons like frontier

  • Full precision
  • Correct template

Quantized/Wrong Template

@jcohen66
jcohen66 / ai_google_spark.md
Created June 28, 2026 18:22
AI Google Spark #ai #google #gemini #spark #tasks #tools #schedules

Spark runs on dedicated GCP instances.

Tasks

A multi-step goal you hand off to Spark.

Help me find and track interior design internships in New Orleans fpr this summer.
Go to my email. Pull out every email that mentions a deliverable. Put them all in a google doc.
@jcohen66
jcohen66 / ai_claude_self_improving.md
Last active June 28, 2026 17:35
AI Build Self Improving System #ai #claude #build #self #improving #austinmarchese #marchese
@jcohen66
jcohen66 / ai_claude_agent_sdk_lifecycle.md
Last active June 27, 2026 20:52
AI Claude Agent SDK Lifecycle

#claude #ai #sdk #agent

As the agent runs, the SDK yields a stream of messages. Each message carries a type that tells you what stage of the loop it came from.

SystemMessage

Session lifecycle events. - init: The first message with system metadata - compact_boundary: Fires after compaction takes place - informational: Plain-text status banners from the loop

  • worker_shutting_down: Loop will end after current turn bc the host is exiting or Remote Control disconnnected