본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM22k · #10206

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/agent-platform-prompt-management/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“지원 티켓을 요약하는 관리형 프롬프트를 Agent Platform에 만들어 주세요. 저장하기 전에 세부 사항을 저와 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 기존 프롬프트를 자유롭게 읽지만, 아무것도 만들기 전에 표시 이름, 템플릿 텍스트, 대상 모델을 보여 주고 사용자의 확인을 받습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Usage Guide

To use this skill effectively:

  1. Execute Operations via Python: Run the Python snippets below using run_command in 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.

  2. 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:

  1. Tier R: Read-only (list, get)

    • No confirmation needed. Execute immediately to gather information.
  2. 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]

  3. 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.

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:

  1. 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 login
    
  2. Python Dependencies: This skill needs google-cloud-aiplatform and google-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-genai
    
  3. Execution: 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬