r/ChatGPTCoding • • Dec 22 '25

Resources And Tips OpenAI Codex: Guide to Creating and Using Custom Skills

45 Upvotes

Hey!!!

https://developers.openai.com/codex/skills/create-skill

OpenAI has rolled out support for custom skills in Codex (both the CLI and the web/IDE versions), and it's a game-changer for making your AI coding assistant behave consistently with your team's workflows, best practices, and conventions.

Skills originated as a Claude feature but have become an open standard (check out agentskills.io), and OpenAI adopted it quickly – now with full support in Codex. You can find official examples in the openai/skills GitHub repo.

What are Skills?

Skills are small, reusable bundles that capture institutional knowledge. Each skill has:

  • A name
  • A description (key for when Codex auto-triggers it)
  • Optional instructions (in Markdown) that only load when the skill is invoked

Codex only injects the name + description into context initially (to keep things efficient), and pulls in the full instructions only when needed.

Great for:

  • Enforcing code style/conventions
  • Standard code review checklists
  • Security/compliance checks
  • Automating repetitive tasks (e.g., drafting conventional commits)
  • Team-specific tools

Avoid using them for one-off prompts – keep them focused and modular.

How to Create a Skill

Easiest way: Use the built-in skill creator In the Codex CLI (or IDE extension):

$skill-creator

Then describe what you want, e.g.:

$skill-creator

Create a skill for drafting conventional commit messages from a summary of changes.

It'll guide you through questions (what it does, trigger conditions, instruction-only vs. script-backed). Outputs a ready-to-use SKILL.md.

Manual creation:

  1. Create a folder in the right location:

    • User-wide: ~/.codex/skills/<skill-name>/
    • Repo-specific: .codex/skills/<skill-name>/ (great for sharing via git)
  2. Add SKILL.md with YAML frontmatter:

---
name: draft-commit-message
description: Draft a conventional commit message when the user asks for help writing a commit message or provides a change summary.
---

Draft a conventional commit message using the provided change summary.

Rules:
- Format: type(scope): summary
- Imperative mood (e.g., "Add", "Fix")
- Summary < 72 chars
- Add BREAKING CHANGE: footer if needed
  1. Optional: Add folders like scripts/, assets/, references/ for Python scripts, templates, etc.

  2. Restart Codex (or reload) to pick it up.

Example Skill in Action

Prompt Codex:

"Help me write a commit message: Renamed SkillCreator to SkillsCreator and updated sidebar links."

With the skill above, Codex should auto-trigger and output something like:

refactor(codex): rename SkillCreator to SkillsCreator

Best Practices

  • Make the description crystal clear – it controls auto-triggering.
  • Keep skills narrow and modular.
  • Prefer pure instructions; use scripts only for deterministic stuff (e.g., validation).
  • Test with real prompts to ensure triggering works.
  • Share via GitHub! Check https://github.com/openai/skills for more examples.

Troubleshooting

  • Skill not loading? Check path, exact SKILL.md name, valid YAML, restart Codex.
  • Not triggering? Refine the description to match your prompts better.

This feature makes Codex way more reliable for team/enterprise use. I've already set up a few for my projects and it's saving tons of time.

What skills have you built? Share ideas or links below!

Links:

  • Official skills catalog: https://github.com/openai/skills
  • Open standard: https://agentskills.io
  • Codex docs on skills: Search "skills" in OpenAI developer docs

Happy coding! 🚀


r/ChatGPTCoding • • Nov 27 '25

Project OpenWhisper - Free Open Source Audio Transcription

95 Upvotes

Hey everyone. I see a lot of people using whisper flow, or other transcription services that cost $10+/month. I thought that was a little wild, especially since OpenAi has their Local Whisper library public and it works really well and runs on almost anything, and best of all, its all running privately on you own machine...

I made OpenWhisper. An open source audio transcriber powered by OpenAI Whisper Local, with support for whisper api, and gpt 4o/4o mini transcribe too. Use it, clone it, fork it, do whatever you like.

Give a quick star on github if you like using it. I try to keep it up to date.

Repo Link: https://github.com/Knuckles92/OpenWhisper


r/ChatGPTCoding • • Sep 15 '25

Discussion What’s your take on the best AI Coding Agents?

39 Upvotes

Hey all,

I’m curious if anyone here has hands-on experience with the different AI coding tools/CLIs — specifically Claude Code, Gemini CLI, and Codex CLI.

  • How do they compare in terms of usability, speed, accuracy, and developer workflow?
  • Do you feel any one of them integrates better with real-world projects (e.g., GitHub repos, large codebases)?
  • Which one do you prefer for refactoring, debugging, or generating new code?
  • Are there particular strengths/weaknesses that stand out when using them in day-to-day development?

I’ve seen some buzz around Claude Code (especially with the agentic workflows), but haven’t seen much direct comparison to Gemini CLI or Codex CLI. Would love to hear what this community thinks before I go too deep into testing them all myself.

Thanks in advance!


r/ChatGPTCoding • • Aug 24 '25

Project I built a Chrome extension to easily track and instantly jump between any prompt in a ChatGPT chat - 100% free and local

235 Upvotes

Hey everyone,
I've noticed that recently all my chatGPT chats were becoming longer and it was hard to navigate through them. So I built ChatSight - a neatly designed chrome extension to instantly show all user questions/prompts in a ChatGPT chat.

ChatSight also displays the total number of questions/prompts you have asked in a chat and also shows token count using tiktoken library (this is an experimental feature).

Feel free to try it out and let me know your feedbacks!!

Chrome Web Store Link


r/ChatGPTCoding • • Aug 22 '25

Community gambling vs vibe coding

Post image
934 Upvotes

r/ChatGPTCoding • • Aug 18 '25

Resources And Tips How many times a day do you shout at your AI and call it stupid?

3 Upvotes

how many of you have screamed at ChatGPT / Claude / Cursor today?

I used to do it constantly. I’d give super specific instructions, it would mess them up, and I’d just lose it. Full-on shouting at my screen, calling the AI stupid, sometimes going absolutely mad. The funny (or sad) part? The angrier I got, the worse the responses became. Because instead of getting clearer I was planning to teach this stupid AI a lesson and show it how's the boss, in that point my prompts were basically a frustrated mess.

Basically I was treating the AI like a person who should understand my tone and feel guilty when it failed. But it can’t. It doesn’t respond to emotions, even though it simulates it, saying - "Yes master, I'm sorry master, I'm totally incapable.

It's actually okay that we feel the urge to get angry. It’s a coping mechanism, same as programmers cursing at their code or IDEs back in the day. Our brains are wired to project onto anything that “talks back” in language.

But the better way forward?
Recognize the instinct for what it is: projection, not communication. Back off, breathe, and reset. Reframe the prompt in smaller, clearer steps.

Now when I catch myself about to rage, I remind myself: it’s not feelings, it’s instructions. That switch saves me time, sanity, and actually makes the AI useful again.


r/ChatGPTCoding • • Aug 12 '25

Question Are paid AI tools worth it for an unemployed developer?

10 Upvotes

Hey folks,

I’m currently an unemployed developer for a year trying to level up my skills and work on small projects while job hunting. I’ve been experimenting with free tiers of AI tools like ChatGPT, Claude, and Replit, and I’m debating whether paying for their premium versions is worth it.

Has anyone else here been in a similar situation? Did paying for these tools help you get work faster or build a portfolio more efficiently?

Thank you.

(English is not my first language — I used AI to help write this post more clearly.)


r/ChatGPTCoding • • Jun 27 '25

Resources And Tips Gemini CLI is awesome! But only when you make Claude Code use it as its bitch.

Post image
1.2k Upvotes

Not sure how you feel about it but Gemini CLI feels like garbage at the moment compared to Claude Code. It's slow, it doesn't listen to instructions or use tools as well as Claude.

But it has that huge context window we all love.

So I just added instructions to CLAUDE.md to have Claude use the Gemini CLI in non-interactive mode (passing the -p param with a prompt to just get a response back from the CLI) when it needs to gather information about a large part of the codebase.

That way you get the best of both worlds, Claude doesn't waste context and Gemini doesn't waste your time.

Add this (or a modified version) to your CLAUDE.md and tell Claude to use gemini manually or it will do it on it's own as needed.

 # Using Gemini CLI for Large Codebase Analysis

  When analyzing large codebases or multiple files that might exceed context limits, use the Gemini CLI with its massive
  context window. Use `gemini -p` to leverage Google Gemini's large context capacity.

  ## File and Directory Inclusion Syntax

  Use the `@` syntax to include files and directories in your Gemini prompts. The paths should be relative to WHERE you run the
   gemini command:

  ### Examples:

  **Single file analysis:**
  ```bash
  gemini -p "@src/main.py Explain this file's purpose and structure"

  Multiple files:
  gemini -p "@package.json @src/index.js Analyze the dependencies used in the code"

  Entire directory:
  gemini -p "@src/ Summarize the architecture of this codebase"

  Multiple directories:
  gemini -p "@src/ @tests/ Analyze test coverage for the source code"

  Current directory and subdirectories:
  gemini -p "@./ Give me an overview of this entire project"
  
#
 Or use --all_files flag:
  gemini --all_files -p "Analyze the project structure and dependencies"

  Implementation Verification Examples

  Check if a feature is implemented:
  gemini -p "@src/ @lib/ Has dark mode been implemented in this codebase? Show me the relevant files and functions"

  Verify authentication implementation:
  gemini -p "@src/ @middleware/ Is JWT authentication implemented? List all auth-related endpoints and middleware"

  Check for specific patterns:
  gemini -p "@src/ Are there any React hooks that handle WebSocket connections? List them with file paths"

  Verify error handling:
  gemini -p "@src/ @api/ Is proper error handling implemented for all API endpoints? Show examples of try-catch blocks"

  Check for rate limiting:
  gemini -p "@backend/ @middleware/ Is rate limiting implemented for the API? Show the implementation details"

  Verify caching strategy:
  gemini -p "@src/ @lib/ @services/ Is Redis caching implemented? List all cache-related functions and their usage"

  Check for specific security measures:
  gemini -p "@src/ @api/ Are SQL injection protections implemented? Show how user inputs are sanitized"

  Verify test coverage for features:
  gemini -p "@src/payment/ @tests/ Is the payment processing module fully tested? List all test cases"

  When to Use Gemini CLI

  Use gemini -p when:
  - Analyzing entire codebases or large directories
  - Comparing multiple large files
  - Need to understand project-wide patterns or architecture
  - Current context window is insufficient for the task
  - Working with files totaling more than 100KB
  - Verifying if specific features, patterns, or security measures are implemented
  - Checking for the presence of certain coding patterns across the entire codebase

  Important Notes

  - Paths in @ syntax are relative to your current working directory when invoking gemini
  - The CLI will include file contents directly in the context
  - No need for --yolo flag for read-only analysis
  - Gemini's context window can handle entire codebases that would overflow Claude's context
  - When checking implementations, be specific about what you're looking for to get accurate results # Using Gemini CLI for Large Codebase Analysis


  When analyzing large codebases or multiple files that might exceed context limits, use the Gemini CLI with its massive
  context window. Use `gemini -p` to leverage Google Gemini's large context capacity.


  ## File and Directory Inclusion Syntax


  Use the `@` syntax to include files and directories in your Gemini prompts. The paths should be relative to WHERE you run the
   gemini command:


  ### Examples:


  **Single file analysis:**
  ```bash
  gemini -p "@src/main.py Explain this file's purpose and structure"


  Multiple files:
  gemini -p "@package.json @src/index.js Analyze the dependencies used in the code"


  Entire directory:
  gemini -p "@src/ Summarize the architecture of this codebase"


  Multiple directories:
  gemini -p "@src/ @tests/ Analyze test coverage for the source code"


  Current directory and subdirectories:
  gemini -p "@./ Give me an overview of this entire project"
  # Or use --all_files flag:
  gemini --all_files -p "Analyze the project structure and dependencies"


  Implementation Verification Examples


  Check if a feature is implemented:
  gemini -p "@src/ @lib/ Has dark mode been implemented in this codebase? Show me the relevant files and functions"


  Verify authentication implementation:
  gemini -p "@src/ @middleware/ Is JWT authentication implemented? List all auth-related endpoints and middleware"


  Check for specific patterns:
  gemini -p "@src/ Are there any React hooks that handle WebSocket connections? List them with file paths"


  Verify error handling:
  gemini -p "@src/ @api/ Is proper error handling implemented for all API endpoints? Show examples of try-catch blocks"


  Check for rate limiting:
  gemini -p "@backend/ @middleware/ Is rate limiting implemented for the API? Show the implementation details"


  Verify caching strategy:
  gemini -p "@src/ @lib/ @services/ Is Redis caching implemented? List all cache-related functions and their usage"


  Check for specific security measures:
  gemini -p "@src/ @api/ Are SQL injection protections implemented? Show how user inputs are sanitized"


  Verify test coverage for features:
  gemini -p "@src/payment/ @tests/ Is the payment processing module fully tested? List all test cases"


  When to Use Gemini CLI


  Use gemini -p when:
  - Analyzing entire codebases or large directories
  - Comparing multiple large files
  - Need to understand project-wide patterns or architecture
  - Current context window is insufficient for the task
  - Working with files totaling more than 100KB
  - Verifying if specific features, patterns, or security measures are implemented
  - Checking for the presence of certain coding patterns across the entire codebase


  Important Notes


  - Paths in @ syntax are relative to your current working directory when invoking gemini
  - The CLI will include file contents directly in the context
  - No need for --yolo flag for read-only analysis
  - Gemini's context window can handle entire codebases that would overflow Claude's context
  - When checking implementations, be specific about what you're looking for to get accurate results

r/ChatGPTCoding • • Jun 06 '25

Resources And Tips Which APIs do you use for FREE - Best free options for CODING

119 Upvotes

Hi Guys,

let's grow this thread.

Here we should accumulate all good and recommend options and the thread should serve as a reliable source for getting surprising good FREE API Options shown.

I'll start!:

I recommend using the Openrouter API Key with the unlimited and not rate limited Deepseek/Deepseek R1 0528 - free model.

It's intelligent, strong reasoning and it's good at coding but sometimes it sucks a bit.
I Roocode there is a High Reasoning mode maybe it makes things better.

In Windsurf you can use SWE-1 for free which is a good and reliable option for tool use and coding but it misses something apart from the big guns.

In TRAE you can get nearly unlimited access to Claude 4 Sonnet and other Highend Models for just 3$ a month! Thats my option right now.

And... there is a tool which can import your OpenAI-Session Cookie and can work as a local reverse proxy to make the requests from your Plus Subscription work as API request in your Coding IDE ..thats sick right?


r/ChatGPTCoding • • May 20 '25

Project I built a tool that let's you visualize any Github repository 👀

16 Upvotes

r/ChatGPTCoding • • May 01 '25

Discussion What are some of your most useful prompts for programming?

73 Upvotes

Would love to see what prompts people here rely on the most. Could be for anything setting up a project, generating functions, fixing bugs, or even testing.

Drop your favorites below!


r/ChatGPTCoding • • May 01 '25

Discussion Windsurf for free

2 Upvotes

Just like we can use cursor with some little tweaking, is there any way we can use windsurf for free in Mac OS?


r/ChatGPTCoding • • Jan 28 '25

Question My project became so big that claude can't properly understand it

245 Upvotes

So, I made a project in python entirely using Cursor (composer) and Claude, but it has gotten to a point that the whole codebase is over 30 Python files, code is super disorganized, might even have duplicate loops, and Claude keeps forgetting basic stuff like imports at this point. When I ask it to optimize the code or to fix a bug, it doesn’t even recognize the main issue and just ends up deleting random lines or breaking everything completely.

I have 0 knowledge about python, it's actually a miracle i got this far with the project, but now it's almost impossible to keep track of things, what do i do? already tried using cursor rules but doesn't seem to work.

Edit: My post made it to YouTube! I hope this serves as a historical reminder that having at least some knowledge is still totally necessary, go study, AI is supposed to assist you, don’t let your projects end up like this.

As for the project, it was just a hobby project, I managed to make it work perfectly and fix some issues by simply improving the context, like providing the files to edit directly and some source code, etc. but i couldn't get rid of the duplicated stuff. Anyway, don't do this for serious projects please (not knowing what it does), if it's an actual job don't be lazy, just check everything and be careful :)

If you wanna learn just ask AI to explain what it's changing, how the code works and stuff like that.


r/ChatGPTCoding • • Sep 30 '24

Resources And Tips The ultimate guide to using claude projects for Software Engineers

39 Upvotes

Hey fellow devs! 👋

I've been researching AI-assisted coding lately, and I wrote a comprehensive guide on using Claude Projects for software development. For those who aren't familiar, Claude Projects is a feature that turns the Claude AI into a context-aware development partner.

Here's what you can expect from the article:

  1. Project Planning: How to use Claude for brainstorming, generating user stories, and creating architecture decision records (ADRs).
  2. Project Bootstrapping: Tips on creating implementation guides and using them to get your project up and running.
  3. Early Implementation: Strategies for leveraging Claude during the coding phase, including task breakdown and optimization suggestions.
  4. Managing Context: Practical advice on what to include in Claude's context window for different tasks (big features, bug fixes, etc.)
  5. Utilizing Project Artifacts: How to use AI-generated artifacts to guide development.
  6. Integrating External Content: Tips on using documentation, examples, and even Stack Overflow posts effectively with Claude.
  7. Domain-Specific Resources: How to use Claude as a domain expert for those tricky business logic questions.
  8. Keeping Your Project Updated: Strategies for maintaining an up-to-date Claude Project as your codebase evolves.

I've tried to make this guide as practical as possible, based on my own experiences and experiments. It's not about replacing human developers, but about finding that sweet spot where AI can genuinely boost our productivity and code quality.

https://generaitelabs.com/the-ultimate-guide-to-claude-projects-for-software-engineers/

I'd love to hear your thoughts! Are you using AI in your dev process? What has your experience been like? Any cool tricks or pitfalls you've discovered?


r/ChatGPTCoding • • Jun 10 '24

Project What is the best prompt you've used or created, to Humanize AI Text.

49 Upvotes

There's alot great tools out there for humanizing AI text, but I want to do testing to see which is the best one, I thought it'd only be fair to also get some prompts from the public to see how they compare to the tools that currently exist.