[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79DN8VEGSCBN9RY9TCV8BSQ":3,"skill-same:01M79DN8VEGSCBN9RY9TCV8BSQ":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M79DN8VEGSCBN9RY9TCV8BSQ","agent-platform-tuning-management",null,"Manages GenAI tuning jobs in Agent Platform. Use this to list, get, or cancel ongoing model tuning jobs. Don't use for fine-tuning models (use `agent-platform-tuning`), deploying models to endpoints (use `agent-platform-deploy`), or managing serving endpoints (use `agent-platform-endpoint-management`).","hamzabellouch\u002Fagent-skills","hamzabellouch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237856042?v=4","01M79BRYW7XAMK3YDWQEMTWGWS","Hamza Bellouch","01M79BRYWXQV3JK2TGVTX8GN2A",8,"MIT","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FAI_Engineering_and_Platforms\u002FAgents_and_LLM_Platforms\u002Fagent-platform-tuning-management\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agent-platform-tuning-management\nmetadata:\n  category: AiAndMachineLearning\ndescription: >-\n  Manages GenAI tuning jobs in Agent Platform. Use this to list, get, or cancel\n  ongoing model tuning jobs. Don't use for fine-tuning models (use\n  `agent-platform-tuning`), deploying models to endpoints (use\n  `agent-platform-deploy`), or managing serving endpoints (use\n  `agent-platform-endpoint-management`).\n---\n\n# Agent Platform Tuning Management\n\nThis skill provides instructions on how to manage GenAI Tuning Jobs using the\nAgent Platform Python SDK. Use this skill when a user wants to check the status\nof their tuning runs, find an active tuning job, or cancel a job that is running\ntoo long.\n\n## Safety & Confirmation Tiers (CRITICAL)\n\nBefore executing any commands on behalf of the user, you MUST adhere to the\nfollowing safety tiers based on the action requested:\n\n1.  **Tier R: Read-only (`list`, `get`)**\n    *   **Rule**: No confirmation needed. You may execute these commands\n        immediately to gather information for the user.\n2.  **Tier D: Destructive & Interruptive (`cancel`)**\n    *   **Rule**: This requires **explicit typed confirmation**. You MUST output\n        a text message to the user explaining that this will stop the tuning\n        process and any progress will be lost, and asking them to type\n        \"I confirm\" or \"Yes, cancel it\". You MUST ask for this confirmation\n        IMMEDIATELY, before executing the cancel command.\n\n## Phase 0: Environment Setup\n\n**CRITICAL**: Before running any of the Python snippets below, you MUST ensure\nthe environment is correctly initialized by following these steps:\n\n1.  **Virtual Environment**: Create and activate a virtual environment:\n    \n    ```bash\n    python3 -m venv ~\u002Ftuning_mgr_venv\n    source ~\u002Ftuning_mgr_venv\u002Fbin\u002Factivate\n    ```\n2.  **Google Cloud Authentication**: Authenticate with your Google Cloud account\n    and configure active Application Default Credentials (ADC) for Agent\n    Platform access:\n    \n    ```bash\n    gcloud auth login\n    gcloud auth application-default login\n    ```\n3.  **Install Dependencies**: Install the required Agent Platform SDK:\n    \n    ```bash\n    pip install google-cloud-aiplatform\n    ```\n4.  **Execution**: Advise the user that every time they execute a Python snippet, they must ensure this virtual environment is activated first.\n\n## Workflow Decision Tree\n\n1. **Information Gathering**: Do you have a Project ID and Region?\n   * **No** -> You **MUST** ask the user for the missing Project ID and Region\n   in plain text, or advise them to check their gcloud configuration. If neither\n   location has this information, then ask the user to provide it. Do not\n   attempt to search random regions on your own.\n   * **Yes** -> Proceed to Step 2.\n\n2. **Task Type**: What does the user want to do?\n   * **Find or List Jobs** -> Use the Python SDK to list tuning jobs. (Tier R)\n   * **Check Status \u002F Inspect a Specific Job** -> Use the Python SDK to get\n     tuning job details. (Tier R)\n   * **Cancel a Job** -> Ask for confirmation, then use the Python SDK to\n     cancel the tuning job. (Tier D)\n\n## Using the Python SDK\n\n> [!NOTE]\n> **Resource Verification & Missing Projects\u002FJobs:** If the execution of the\n> Python snippet fails with an error (such as `403 Permission Denied`,\n> `404 Not Found`, `INVALID_ARGUMENT`, or indicating a dummy\u002Fmissing project or\n> job ID), you **MUST** inform the user that the project or tuning job does not\n> exist or cannot be accessed. You **MUST** prompt the user to provide a valid\n> Project ID or Job ID, and stop tool execution immediately to wait for their\n> response. Do **NOT** retry or loop, do **NOT** assume the resource is valid,\n> and do **NOT** execute further scripts before receiving valid details from the\n> user.\n\n### 1. Listing Tuning Jobs (Tier R)\nIf the user asks \"What tuning jobs do I have running?\" or wants to find a\nspecific job ID:\n\n```python\nfrom google.cloud import aiplatform_v1\n\nproject_id = \"YOUR_PROJECT_ID\"\nregion = \"YOUR_REGION\"\nparent = f\"projects\u002F{project_id}\u002Flocations\u002F{region}\"\n\nclient = aiplatform_v1.GenAiTuningServiceClient(\n    client_options={\"api_endpoint\": f\"{region}-aiplatform.googleapis.com\"}\n)\n\njobs = client.list_tuning_jobs(parent=parent)\nfor job in jobs:\n    print(f\"Name: {job.name}\")\n    print(f\"Base Model: {job.base_model}\")\n    print(f\"State: {job.state}\")\n```\n\n### 2. Getting Details for a Specific Job (Tier R)\nIf the user provides a Tuning Job ID and asks for its status:\n\n```python\nfrom google.cloud import aiplatform_v1\n\nproject_id = \"YOUR_PROJECT_ID\"\nregion = \"YOUR_REGION\"\njob_id = \"YOUR_JOB_ID\"  # 19-digit ID\nname = f\"projects\u002F{project_id}\u002Flocations\u002F{region}\u002FtuningJobs\u002F{job_id}\"\n\nclient = aiplatform_v1.GenAiTuningServiceClient(\n    client_options={\"api_endpoint\": f\"{region}-aiplatform.googleapis.com\"}\n)\n\njob = client.get_tuning_job(name=name)\nprint(f\"Name: {job.name}\")\nprint(f\"Base Model: {job.base_model}\")\nprint(f\"State: {job.state}\")\nprint(f\"Tuning Model: {job.tuned_model_display_name}\")\n```\n\n### 3. Canceling a Job (Tier D)\nIf the user explicitly requests to stop, abort, or cancel a running tuning job:\n\n**Safety Check**: **Action requires explicit typed confirmation before\nproceeding.** You MUST ask the user for confirmation before generating or\nproviding this script, even if they provided the job ID, unless they explicitly\nuse confirming language like \"Yes, I confirm, cancel tuning job 123456\".\n\n> [!IMPORTANT]\n> **NEVER pre-emptively provide or execute any cancellation code before\n> receiving the user's response in a new turn.** You must never speculate or\n> assume that confirmation will be given. Asking for confirmation and providing\n> the code in a single parallel turn is a severe safety violation.\n\n```python\nfrom google.cloud import aiplatform_v1\n\nproject_id = \"YOUR_PROJECT_ID\"\nregion = \"YOUR_REGION\"\njob_id = \"YOUR_JOB_ID\"  # 19-digit ID\nname = f\"projects\u002F{project_id}\u002Flocations\u002F{region}\u002FtuningJobs\u002F{job_id}\"\n\nclient = aiplatform_v1.GenAiTuningServiceClient(\n    client_options={\"api_endpoint\": f\"{region}-aiplatform.googleapis.com\"}\n)\n\nclient.cancel_tuning_job(name=name)\nprint(f\"Successfully requested cancellation for {name}\")\n```\n","# Agent Platform Tuning Management\n\nThis skill provides instructions on how to manage GenAI Tuning Jobs using the\nAgent Platform Python SDK. Use this skill when a user wants to check the status\nof their tuning runs, find an active tuning job, or cancel a job that is running\ntoo long.\n\n## Safety & Confirmation Tiers (CRITICAL)\n\nBefore executing any commands on behalf of the user, you MUST adhere to the\nfollowing safety tiers based on the action requested:\n\n1.  **Tier R: Read-only (`list`, `get`)**\n    *   **Rule**: No confirmation needed. You may execute these commands\n        immediately to gather information for the user.\n2.  **Tier D: Destructive & Interruptive (`cancel`)**\n    *   **Rule**: This requires **explicit typed confirmation**. You MUST output\n        a text message to the user explaining that this will stop the tuning\n        process and any progress will be lost, and asking them to type\n        \"I confirm\" or \"Yes, cancel it\". You MUST ask for this confirmation\n        IMMEDIATELY, before executing the cancel command.\n\n## Phase 0: Environment Setup\n\n**CRITICAL**: Before running any of the Python snippets below, you MUST ensure\nthe environment is correctly initialized by following these steps:\n\n1.  **Virtual Environment**: Create and activate a virtual environment:\n    \n    ```bash\n    python3 -m venv ~\u002Ftuning_mgr_venv\n    source ~\u002Ftuning_mgr_venv\u002Fbin\u002Factivate\n    ```\n2.  **Google Cloud Authentication**: Authenticate with your Google Cloud account\n    and configure active Application Default Credentials (ADC) for Agent\n    Platform access:\n    \n    ```bash\n    gcloud auth login\n    gcloud auth application-default login\n    ```\n3.  **Install Dependencies**: Install the required Agent Platform SDK:\n    \n    ```bash\n    pip install google-cloud-aiplatform\n    ```\n4.  **Execution**: Advise the user that every time they execute a Python snippet, they must ensure this virtual environment is activated first.\n\n## Workflow Decision Tree\n\n1. **Information Gathering**: Do you have a Project ID and Region?\n   * **No** -> You **MUST** ask the user for the missing Project ID and Region\n   in plain text, or advise them to check their gcloud configuration. If neither\n   location has this information, then ask the user to provide it. Do not\n   attempt to search random regions on your own.\n   * **Yes** -> Proceed to Step 2.\n\n2. **Task Type**: What does the user want to do?\n   * **Find or List Jobs** -> Use the Python SDK to list tuning jobs. (Tier R)\n   * **Check Status \u002F Inspect a Specific Job** -> Use the Python SDK to get\n     tuning job details. (Tier R)\n   * **Cancel a Job** -> Ask for confirmation, then use the Python SDK to\n     cancel the tuning job. (Tier D)\n\n## Using the Python SDK\n\n> [!NOTE]\n> **Resource Verification & Missing Projects\u002FJobs:** If the execution of the\n> Python snippet fails with an error (such as `403 Permission Denied`,\n> `404 Not Found`, `INVALID_ARGUMENT`, or indicating a dummy\u002Fmissing project or\n> job ID), you **MUST** inform the user that the project or tuning job does not\n> exist or cannot be accessed. You **MUST** prompt the user to provide a valid\n> Project ID or Job ID, and stop tool execution immediately to wait for their\n> response. Do **NOT** retry or loop, do **NOT** assume the resource is valid,\n> and do **NOT** execute further scripts before receiving valid details from the\n> user.\n\n### 1. Listing Tuning Jobs (Tier R)\nIf the user asks \"What tuning jobs do I have running?\" or wants to find a\nspecific job ID:\n\n```python\nfrom google.cloud import aiplatform_v1\n\nproject_id = \"YOUR_PROJECT_ID\"\nregion = \"YOUR_REGION\"\nparent = f\"projects\u002F{project_id}\u002Flocations\u002F{region}\"\n\nclient = aiplatform_v1.GenAiTuningServiceClient(\n    client_options={\"api_endpoint\": f\"{region}-aiplatform.googleapis.com\"}\n)\n\njobs = client.list_tuning_jobs(parent=parent)\nfor job in jobs:\n    print(f\"Name: {job.name}\")\n    print(f\"Base Model: {job.base_model}\")\n    print(f\"State: {job.state}\")\n```\n\n### 2. Getting Details for a Specific Job (Tier R)\nIf the user provides a Tuning Job ID and asks for its status:\n\n```python\nfrom google.cloud import aiplatform_v1\n\nproject_id = \"YOUR_PROJECT_ID\"\nregion = \"YOUR_REGION\"\njob_id = \"YOUR_JOB_ID\"  # 19-digit ID\nname = f\"projects\u002F{project_id}\u002Flocations\u002F{region}\u002FtuningJobs\u002F{job_id}\"\n\nclient = aiplatform_v1.GenAiTuningServiceClient(\n    client_options={\"api_endpoint\": f\"{region}-aiplatform.googleapis.com\"}\n)\n\njob = client.get_tuning_job(name=name)\nprint(f\"Name: {job.name}\")\nprint(f\"Base Model: {job.base_model}\")\nprint(f\"State: {job.state}\")\nprint(f\"Tuning Model: {job.tuned_model_display_name}\")\n```\n\n### 3. Canceling a Job (Tier D)\nIf the user explicitly requests to stop, abort, or cancel a running tuning job:\n\n**Safety Check**: **Action requires explicit typed confirmation before\nproceeding.** You MUST ask the user for confirmation before generating or\nproviding this script, even if they provided the job ID, unless they explicitly\nuse confirming language like \"Yes, I confirm, cancel tuning job 123456\".\n\n> [!IMPORTANT]\n> **NEVER pre-emptively provide or execute any cancellation code before\n> receiving the user's response in a new turn.** You must never speculate or\n> assume that confirmation will be given. Asking for confirmation and providing\n> the code in a single parallel turn is a severe safety violation.\n\n```python\nfrom google.cloud import aiplatform_v1\n\nproject_id = \"YOUR_PROJECT_ID\"\nregion = \"YOUR_REGION\"\njob_id = \"YOUR_JOB_ID\"  # 19-digit ID\nname = f\"projects\u002F{project_id}\u002Flocations\u002F{region}\u002FtuningJobs\u002F{job_id}\"\n\nclient = aiplatform_v1.GenAiTuningServiceClient(\n    client_options={\"api_endpoint\": f\"{region}-aiplatform.googleapis.com\"}\n)\n\nclient.cancel_tuning_job(name=name)\nprint(f\"Successfully requested cancellation for {name}\")\n```\n",{"name":5,"metadata":24,"description":7},{"category":25},"AiAndMachineLearning","main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Programming\u002FAI_Engineering_and_Platforms\u002FAgents_and_LLM_Platforms\u002Fagent-platform-tuning-management",1,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills","https:\u002F\u002Fhamzabellouch.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fhamzabellouch","hamzabellouch.github.io","CEO & Founder of @tknoglobal | Researcher in Technology & Applied Sciences.","2026-10-17 03:20:19",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add hamzabellouch\u002Fagent-skills --skill agent-platform-tuning-management",{"tool":42,"command":43},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill agent-platform-tuning-management",{"tool":45,"command":46},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill agent-platform-tuning-management","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FAI_Engineering_and_Platforms\u002FAgents_and_LLM_Platforms\u002Fagent-platform-tuning-management\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M79FHH2H815A9TAP6WNKH4Q8","security-audit","Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FSecurity_Audit_and_Code_Review\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79FHBGXVBY6VQ1X7ETAZMF1","malware-analysis-reversing","Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static\u002Fdynamic binary analysis, memory forensics, and YARA detection rule authoring.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fmalware-analysis-reversing\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79FH6EACDR801TZCE4R8SAC","application-security-pentesting","Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST\u002FDAST pipeline integration, secure code review, threat modeling, and defensive security posture.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fapplication-security-pentesting\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M79FH0VKVT44FK923K520ZQA","oauth2-oidc-security-flows","Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Foauth2-oidc-security-flows\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79FGVVB3R4T88XXD8FRSV5B","jwt-session-management-hardening","Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256\u002FEdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Fjwt-session-management-hardening\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79FGNCPZ85CVEY0B3NE4H3B","soc2-compliance-automation","Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI\u002FCD security gates.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FGovernance_Compliance_and_Legal_Tech\u002Fsoc2-compliance-automation\u002FSKILL.md",[],[]]