ai-prompting-basics

ai-prompting-basics is a skill for Claude Code from modu-ai/moai-cowork. It costs 75 tokens per session (915 once invoked), scanned A, original, Apache-2.0.

A practical guide to writing clearer requests for Claude, an AI assistant, by adding context, examples, roles, and output rules.

In plain words
What is it for?
Use it to improve prompts, specify formats and tone, structure long inputs, provide useful examples, and ask for answers that avoid unsupported guesses.
Why use it?
It helps reduce vague, overly long, or off-target answers when the user does not know how to phrase a request.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the moai-coworker plugin — 32 skills shipped together

Good fit Use it to improve prompts, specify formats and tone, structure long inputs, provide useful examples, and ask for answers that avoid unsupported guesses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/modu-ai/moai-cowork/ai-prompting-basics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add modu-ai/moai-cowork --skill ai-prompting-basics
Clone the repo
git clone --depth 1 https://github.com/modu-ai/moai-cowork

Made for: Claude Code.

Or install moai-coworker, the plugin that ships this one along with the rest of its 32 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai-prompting-basics

README.md
[![agentmods](https://agentmods.dev/badge/skills/modu-ai/moai-cowork/ai-prompting-basics/github.svg)](https://agentmods.dev/skills/modu-ai/moai-cowork/ai-prompting-basics)
Your own site
<a href="https://agentmods.dev/skills/modu-ai/moai-cowork/ai-prompting-basics"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-cowork/ai-prompting-basics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-prompting-basics

Your own site · 80×15
<a href="https://agentmods.dev/skills/modu-ai/moai-cowork/ai-prompting-basics"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-cowork/ai-prompting-basics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 915 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.00915
Opus 5 $0.00037 $0.00458
Sonnet 5 $0.00015 $0.00183
Haiku 4.5 $0.00007 $0.00092

Measured 12d ago against content hash e1cb712f7823, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ai-prompting-basics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/moai-coworker/skills/ai-prompting-basics/SKILL.md · 50 lines

What it actually says

ai-prompting-basics — 비개발자용 Claude 대화 가이드

cowork 플러그인 스킬 — skills/ 카테고리만 사용 (commands/·agents/ 없음).

핵심 6원칙 (Claude 공식)

  1. 명확하고 직접적으로 — Claude를 '맥락 없는 똑똑한 새 동료'로 대해. 원하는 출력 형식·제약을 직접 명시. "도움말 만들어줘" (X) → "초보용 5단계 설치 도움말, 단계당 2문장, 이모지 1개" (O).
  2. 맥락·동기 추가 중요한지 설명하면 Claude가 올바르게 일반화. "소리 내어 읽을 거니 줄임표 금지" > "줄임표 금지".
  3. 예시로 보여주기 (multishot) — 3–5개 잘 만든 예시가 형식·톤·구조를 가장 안정적으로 유도. <example> 태그로 감싸. 긍정 예시가 부정 지시보다 강하다.
  4. XML 태그로 구조화 — 혼합 프롬프트는 <instructions>, <context>, <input>, <output_format> 태그로 나누면 Claude가 헷갈리지 않음.
  5. 역할 부여 — 시스템 프롬프트에 한 문장 역할("너는 10년 차 카피라이터야")로 톤·행동 집중.
  6. 긴 자료는 상단에 — 20k+ 토큰 입력은 데이터를 상단에, 질문·지시는 하단에 배치 (품질 ~30% 향상).

비개발자 실전 치트키

이런 요청은 이렇게 바꾸세요
"글 써줘" "50대 주부 대상 건강보험 블로그 글, 3문단, 핵심 혜택 1개"
"잘 만들어줘" (모호) 원하는 형식의 예시 1개를 직접 보여주기
"~하지 마" (부정) "~하게 써" (긍정) — 부정 지시는 잘 안 지켜짐
"더 좋게" (평가어) 구체 기준("초등 5학년이 이해 가능하게, 문장당 25자 이내")

자주 묻는 질문

Q: Claude가 너무 길게 써요 → 출력 형식 명시: "3문단, 문장당 25자 이내" 또는 "한 슬라이드당 핵심 1줄".

Q: 내 뉘앙스가 안 살아요 → 역할 + 예시 2–3개 제공. "이런 톤으로: [예시1] [예시2]".

Q: 거짓말(할루시네이션)해요 → "모르면 모른다고 해. 추측하지 마" + 확인 가능한 출처 요청.

참고

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 50 lines · 75 tokens per session scan A e1cb712f7823

Subscribe to this mod's changes

ai-prompting-basics is a skill published in the GitHub repository modu-ai/moai-cowork (300 stars, last pushed 9d ago), licensed Apache-2.0. It adds 75 tokens to every session and 915 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

openrouter

OpenRouter API - Unified access to 400+ AI models through one API.

naveedharri/benai-skills · 18 tokens

prompt-master

The one skill for prompting the Claude 5 models the way Anthropic says to. Starts by interviewing the user one question at a time, then writes a new prompt, rewrites an old one, or audits a whole CLAUDE.md, skill or project-instruction file, applying the rules from Anthropic's Opus 5 guide, Fable 5 guide, best…

naveedharri/benai-skills · 225 tokens

revenantworks-foundation-promptwright

Builds, scores, hardens, and red-teams LLM prompts — from a rough idea to a copy-paste-ready artifact — and picks which model tier to run a prompt or task on. Trigger to write, fix, improve, debug, red-team, or rewrite a prompt, meta-prompt, template, or system prompt; to assemble parameters into a working prompt; for…

revenantworks/claude-skills · 223 tokens

llm-router-ops

Operate a self-hosted OpenAI-compatible LLM router/proxy (e.g. LiteLLM) in front of one or more backends — the minimal client-wiring block for every client type, the context-window advertisement gotcha, the env-vs-persisted-config gotcha, and why an unauthenticated health probe should 401, not 200. Use when wiring a…

dryvist/claude-code-plugins · 112 tokens

gws-modelarmor-create-template

Google Model Armor: Create a new Model Armor template.

fakoli/fakoli-plugins · 18 tokens

gws-modelarmor-sanitize-prompt

Google Model Armor: Sanitize a user prompt through a Model Armor template.

fakoli/fakoli-plugins · 24 tokens