Codegpt
No description available
Install / Use
npx skills add morganpartee/codegptInstalls into whichever agent you are using.
README
Codegpt
0.3
A tool for using GPT just a little quicker. A nearly truly automated footgun. Learn how to revert with git before trying please.
Posting about progress here:
Getting Started
pip install codegpt --upgrade
And set your openapi API key as an environment variable like they recommend: In their docs here
Windows users can also use setx like:
$ setx OPENAI_SECRET_KEY=<YOUR_API_KEY>
from an admin console.
Your first (safe) command
One cool thing is generating documentation. GPT-3 has a token limit of 4000 for completions, so larger files will be chunked up.
codegpt docs <paths>
And it'll generate docs, one per file. This is great when you're coming into a codebase you've never seen before.
Unsafe Commands
Everything else can modify files. Have someone hold your beer and try some of these (after you check it into git):
Usage To try Codegpt, you can run the following command:
codegpt do <instructions (quoted)> -f readme.md
It can do basically anything. Try handing in some files for context and telling it to generate something new - SQL queries, new features, documentation, whatever.
Or use the quick command to do some neat stuff, like:
Generate docs
codegpt quick docs <filenames>
Change variable names to be more readable
codegpt quick varnames <filenames>
Add comments to your code automatically
codegpt quick comment <filenames>
Check for bugs (iffy, but worth a shot)
codegpt quick bugs <filenames>
Check for vulnerabilities (even more iffy, but worth a shot)
codegpt quick vulns <filenames>
Try to make code less miserable
codegpt quick ugh <filenames>
Keep in mind that using GPT-3 for code generation is paid, with a cost of 2 cents per 1,000 tokens.
Just like with a Jr Dev, it's best to break up your tasks into smaller pieces to improve the results.
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
