agent-platform-prompt-management
यह क्या करती है
यह Agent Platform में संग्रहीत प्रॉम्प्ट टेम्पलेट संभालती है, जिनमें उन्हें बनाना और सूचीबद्ध करना शामिल है, आपकी ओर से Python कॉल करते हुए। यह उन डेवलपर्स के लिए है जो प्रॉम्प्ट अपने कोड के बजाय Agent Platform में रखते हैं।
कब इस्तेमाल करें
- ✓जब आप दोबारा इस्तेमाल के लिए Agent Platform में कोई प्रॉम्प्ट सेव करना चाहें।
- ✓जब आपको पहले से सेव किए प्रॉम्प्ट सूचीबद्ध या लाने हों।
- ✓जब आप किसी managed प्रॉम्प्ट का नया version बनाना चाहें।
Skill का लिंक
https://github.com/google/skills/blob/main/skills/cloud/agent-platform-prompt-management/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Agent Platform में सपोर्ट टिकट का सारांश बनाने के लिए एक managed प्रॉम्प्ट बनाइए, और सेव करने से पहले मुझसे विवरण की पुष्टि कीजिए।”
हर हफ़्ते 5 नई skills, 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 के managed प्रॉम्प्ट के लिए है।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
finding-google-skills
22kआपके एजेंट को किसी सेटअप काम के लिए सही Google गाइड खोजने में मदद करती है, जैसे hosting, databases, storage, sign-in या AI model serving।
gcloud
22kयह आपके एजेंट को Google Cloud gcloud कमांड लिखने और जाँचने में मदद करती है, कुछ भी चलाने से पहले सटीक सिंटैक्स देखकर, ताकि फ़्लैग का अंदाज़ा न लगे।
google-cloud-recipe-auth
22kआपके एजेंट को Google Cloud की पहचान और पहुँच समझाती है, जिसमें यह शामिल है कि लोग और सेवाएँ कैसे साइन इन करते हैं और उन्हें कौन सी अनुमतियाँ मिलती हैं।
google-cloud-recipe-onboarding
22kएक नए डेवलपर को Google Cloud पर पहले कदमों में मदद करती है, जिसमें प्रोजेक्ट चुनना, बिलिंग जोड़ना और पहला संसाधन डिप्लॉय करना शामिल है।
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।