Agent SkillsAgent Skills
openclaw

prompt-engineering-openai-api-f7c24501

@openclaw/prompt-engineering-openai-api-f7c24501
openclaw
3,632
1015 forks
Updated 4/1/2026
View on GitHub

name: prompt-engineering-openai-api-f7c24501

Installation

$npx agent-skills-cli install @openclaw/prompt-engineering-openai-api-f7c24501
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Repositoryopenclaw/skills
Pathskills/hhhh124hhhh/prompt-engineering-openai-api-f7c24501/SKILL.md
Branchmain
Scoped Name@openclaw/prompt-engineering-openai-api-f7c24501

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

npx agent-skills-cli list

Skill Instructions


name: prompt-engineering-openai-api-f7c24501 description: Log in Sign up

Prompt engineering

Enhance results with prompt engineering strategies.

Copy page

With the OpenAI API, you can use a large language model to generate text from a prompt, as you might using ChatGPT. Models can generate almost any kind of text response—like code, mathematical equations, structured JSON data, or human-like prose.

Here's a simple example using the [Responses ... metadata: {"clawdbot": {"type": "text prompt", "inferred_type": "Text Prompt", "source": "firecrawl", "original_url": "https://platform.openai.com/docs/guides/prompt-engineering", "quality_score": 0}}

Prompt engineering | OpenAI API

描述

Log in Sign up

Prompt engineering

Enhance results with prompt engineering strategies.

Copy page

With the OpenAI API, you can use a large language model to generate text from a prompt, as you might using ChatGPT. Models can generate almost any kind of text response—like code, mathematical equations, structured JSON data, or human-like prose.

Here's a simple example using the [Responses ...

来源

Prompt

Log in [Sign up](https://platform.openai.com/signup)

# Prompt engineering

Enhance results with prompt engineering strategies.

Copy page

With the OpenAI API, you can use a [large language model](https://platform.openai.com/docs/models) to generate text from a prompt, as you might using [ChatGPT](https://chatgpt.com/). Models can generate almost any kind of text response—like code, mathematical equations, structured JSON data, or human-like prose.

Here's a simple example using the [Responses API](https://platform.openai.com/docs/api-reference/responses).

Generate text from a simple prompt

javascript

1 2 3 4 5 6 7 8 9 import OpenAI from "openai"; const client = new OpenAI();

const response = await client.responses.create({ model: "gpt-5.2", input: "Write a one-sentence bedtime story about a unicorn." });

console.log(response.output_text);

1 2 3 4 5 6 7 8 9 from openai import OpenAI client = OpenAI()

response = client.responses.create( model="gpt-5.2", ...


---

## 标签
- AI
- Text Prompt
- prompt
- 生成
- clawdbot

---

*Skill generated by Clawdbot*