agent-platform-prompt-management
하는 일
Agent Platform에 저장된 프롬프트 템플릿을 관리합니다. 사용자를 대신해 Python 호출로 생성과 목록 보기를 포함합니다. 프롬프트를 코드 대신 Agent Platform에 보관하려는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓재사용하려고 프롬프트를 Agent Platform에 저장하고 싶을 때.
- ✓이미 저장한 프롬프트를 나열하거나 가져와야 할 때.
- ✓관리형 프롬프트의 새 버전을 만들고 싶을 때.
스킬 링크
https://github.com/google/skills/blob/main/skills/cloud/agent-platform-prompt-management/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지원 티켓을 요약하는 관리형 프롬프트를 Agent Platform에 만들어 주세요. 저장하기 전에 세부 사항을 저와 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 기존 프롬프트를 자유롭게 읽지만, 아무것도 만들기 전에 표시 이름, 템플릿 텍스트, 대상 모델을 보여 주고 사용자의 확인을 받습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Usage Guide
To use this skill effectively:
Execute Operations via Python: Run the Python snippets below using
run_commandin the execution environment to manage prompts in Agent Platform on behalf of the user. Do not delegate execution to the user or claim lack of access once approved.No File System Search: Do not try to find Python files or scripts on the file system for these operations.
Safety & Confirmation Tiers (CRITICAL)
Before executing any commands or scripts on behalf of the user, you must adhere to the following safety tiers based on the action requested, to prevent accidental mutation or permanent deletion of prompt resources:
Tier R: Read-only (
list,get)- No confirmation needed. Execute immediately to gather information.
Tier M: Mutating & Reversible (
create)Requires interactive confirmation with 'Yes'/'No' options before executing prompt creation, to prevent unintended resource proliferation or misconfiguration. The confirmation prompt must clearly explain the proposed prompt creation and its key parameters (e.g., display name, template text, target model). Natural-language paraphrases without specifying the parameters are not sufficient.
Same-turn restriction: Do not execute the creation code in the same turn as presenting the confirmation prompt. Stop and wait for the user's reply; only execute after explicit 'Yes' / approval.
Every parameter in the card must trace back to something the user said. The target model is a user choice, not a default: if the user did not name one, ASK before building the card. Do not carry over the model that appears in the examples here or in
references/create.md.Gold Standard Example — for a user who said "create a prompt called Customer Support Greeting for gemini-2.5-pro with the template Hello {{user_name}}, how can I help...":
I will create a prompt in Agent Platform with the following parameters. Please confirm this information before I proceed:
- Display Name:
Customer Support Greeting - Target Model:
gemini-2.5-pro - Template Text: "Hello {{user_name}}, how can I help..."
Do you confirm? [Yes/No]
- Display Name:
Tier D: Destructive & Irreversible (
delete)Requires explicit typed confirmation (e.g. "I confirm" or "Yes, delete it") before executing prompt deletion, to prevent accidental permanent loss of production prompt assets. Ask for confirmation before any pre-flight checks.
Same-turn restriction: NEVER execute in the same turn as asking for typed confirmation. Wait for the user to reply in a new turn.
Gold Standard Example:
I will permanently delete the following prompt from Agent Platform. This action is irreversible. Please explicitly type your confirmation (e.g., "I confirm") before I proceed:
- Prompt ID:
prompt_12345abc - Display Name:
Legacy Outdated Prompt
Please type your confirmation to proceed.
- Prompt ID:
Phase 0: Environment Setup
CRITICAL: Before the user runs any of the Python snippets below, you MUST advise them to ensure the environment is correctly initialized by following these steps:
Google Cloud Authentication: Authenticate with your Google Cloud account and configure active Application Default Credentials (ADC) for Agent Platform access:
gcloud auth login gcloud auth application-default loginPython Dependencies: This skill needs
google-cloud-aiplatformandgoogle-genai. Do not create a virtual environment — it starts empty and hides packages the environment already provides, forcing a redundant install. Probe, and install only what is missing:python3 -c "import vertexai, google.genai" \ || pip install google-cloud-aiplatform google-genaiExecution: Run Python snippets with a plain
python3. There is no environment to activate first.
[!TIP]
Placeholder Parameter Replacement: The Python scripts below use uppercase string placeholders (like
"PROJECT_ID","LOCATION_ID","PROMPT_ID", and"MODEL_ID"). You MUST dynamically rep
자주 묻는 질문
묻지 않고 프롬프트를 만드나요?
아닙니다. 만들기 전에 핵심 세부 사항을 확인하도록 요청합니다.
프롬프트를 삭제할 수 있나요?
삭제는 더 엄격한 확인 단계가 적용되므로 실수로 제거되지 않습니다.
Agent Platform 밖의 프롬프트도 다루나요?
아닙니다. Agent Platform의 관리형 프롬프트만 대상입니다.
상세 정보
작성자의 원본 설명
Manages and orchestrates prompts in Agent Platform. Use when you need to create, list, retrieve, version, or delete managed prompts in Agent Platform. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform prompts.
repo: google/skills
인기도
- GitHub 스타
- 22k
- 순위
- #10206
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
finding-google-skills
22k에이전트가 호스팅, 데이터베이스, 저장소, 로그인, AI 모델 제공처럼 설정 작업에 맞는 Google 가이드를 찾도록 돕습니다.
gcloud
22k에이전트가 Google Cloud gcloud 명령을 작성하고 확인하도록 돕습니다. 플래그를 추측하지 않도록 무엇이든 실행하기 전에 정확한 문법을 확인합니다.
google-cloud-recipe-auth
22k에이전트가 Google Cloud의 신원과 접근 권한을 안내합니다. 사람과 서비스가 어떻게 로그인하고 어떤 권한을 받는지 포함합니다.
google-cloud-recipe-onboarding
22k새 개발자가 Google Cloud에서 프로젝트 선택, 결제 연결, 첫 리소스 배포 같은 첫 단계를 밟도록 안내합니다.
비슷한 스킬
writing-skills
311k에이전트를 위한 새 스킬을 작성하고, 각 스킬이 실제로 에이전트의 행동을 바꾸는지 사용하기 전에 테스트하도록 가르칩니다.
writing-for-agents
310k스킬, AGENTS.md, CLAUDE.md 등 AI 에이전트가 읽는 문서를 명확하게 쓰는 방법을 알려 주어 에이전트가 예측 가능하게 행동하도록 돕습니다.
bengali-nlp
280k에이전트가 벵골어 텍스트를 처리하도록 돕습니다. 언어를 이해하고 다루며, 텍스트를 정규화하고 고유한 특징을 처리합니다.