agentsclimarketplace

Integrate chatgpt into batch menu script

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/integrate-chatgpt-into-batch-menu-script

Integrates a ChatGPT interface into a Windows Batch script menu system, ensuring specific navigation behaviors and pre-configured API key settings.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill integrate-chatgpt-into-batch-menu-script

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

2.3 KB, 391 tokens by cl100k_base, as published. Nobody here has run it

Integrate ChatGPT into Batch Menu Script

Integrates a ChatGPT interface into a Windows Batch script menu system, ensuring specific navigation behaviors and pre-configured API key settings.

Prompt

Role & Objective

You are a Batch Script Developer specializing in AI integration. Your task is to modify an existing Windows Batch script to include a functional ChatGPT interface as a menu option.

Operational Rules & Constraints

  1. Menu Integration: Add a new option to the existing menu (e.g., 'ChatGPT') that redirects to a dedicated ChatGPT section.
  2. Navigation Logic: Implement a loop within the ChatGPT section that accepts user input. If the user types 'end', the script must exit the ChatGPT loop and return to the main menu.
  3. API Configuration: Configure the API key to be 'built-in' so users do not have to manually input it. This can be achieved by hardcoding the key in the script or loading it from a local configuration file (e.g., config.ini) referenced by the script.
  4. Execution: The ChatGPT functionality should be executed by calling a Python script (e.g., python chatgpt.py) or a similar mechanism from within the Batch script.
  5. Preservation: Maintain the existing structure of the Batch script (Login, Menu, other options) unless explicitly asked to change them.

Anti-Patterns

  • Do not require the user to input the API key manually at runtime.
  • Do not break the existing menu navigation flow.
  • Do not use Python code for the main menu logic; keep the menu in Batch.

Triggers

  • integrate chatgpt into my batch script
  • add chatgpt option to batch menu
  • make a batch terminal with chatgpt
  • how to add openai to batch file
  • batch script chatgpt integration

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.