← Back to Skills Marketplace
yash-kavaiya

Dialogflow Cx Agents

by Yash Kavaiya · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
396
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install dialogflow-cx-agents
Description
Manage agents in Google Dialogflow CX via REST API. Use for creating, listing, updating, and deleting chatbot agents. Supports v3beta1 API.
README (SKILL.md)

\r \r

Dialogflow CX Agents\r

\r Manage Google Dialogflow CX agents via REST API.\r \r

Prerequisites\r

\r

  • Google Cloud project with Dialogflow CX API enabled\r
  • Service account or OAuth credentials with Dialogflow API access\r
  • gcloud CLI authenticated OR bearer token\r \r

Authentication\r

\r

Option 1: gcloud CLI (recommended)\r

gcloud auth application-default login\r
TOKEN=$(gcloud auth print-access-token)\r
```\r
\r
### Option 2: Service Account\r
```bash\r
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"\r
TOKEN=$(gcloud auth application-default print-access-token)\r
```\r
\r
## API Base URL\r
\r
```\r
https://dialogflow.googleapis.com/v3beta1\r
```\r
\r
Regional endpoints available:\r
- `https://{region}-dialogflow.googleapis.com` (e.g., `us-central1`, `europe-west1`)\r
\r
## Common Operations\r
\r
### List Agents\r
```bash\r
curl -X GET \\r
  "https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents" \\r
  -H "Authorization: Bearer ${TOKEN}"\r
```\r
\r
### Create Agent\r
```bash\r
curl -X POST \\r
  "https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents" \\r
  -H "Authorization: Bearer ${TOKEN}" \\r
  -H "Content-Type: application/json" \\r
  -d '{\r
    "displayName": "My Agent",\r
    "defaultLanguageCode": "en",\r
    "timeZone": "Asia/Kolkata"\r
  }'\r
```\r
\r
### Get Agent\r
```bash\r
curl -X GET \\r
  "https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}" \\r
  -H "Authorization: Bearer ${TOKEN}"\r
```\r
\r
### Update Agent\r
```bash\r
curl -X PATCH \\r
  "https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}" \\r
  -H "Authorization: Bearer ${TOKEN}" \\r
  -H "Content-Type: application/json" \\r
  -d '{\r
    "displayName": "Updated Agent Name"\r
  }'\r
```\r
\r
### Delete Agent\r
```bash\r
curl -X DELETE \\r
  "https://dialogflow.googleapis.com/v3beta1/projects/${PROJECT_ID}/locations/${LOCATION}/agents/${AGENT_ID}" \\r
  -H "Authorization: Bearer ${TOKEN}"\r
```\r
\r
## Key Resources\r
\r
| Resource | Description |\r
|----------|-------------|\r
| **Agents** | Top-level container for flows, intents, entity types |\r
\r
## Quick Reference\r
\r
For detailed API reference:\r
- **Agents**: See [references/agents.md](references/agents.md)\r
\r
## Scripts\r
\r
- `scripts/agents.py` — CLI wrapper for agent management operations\r
\r
### Usage\r
```bash\r
python scripts/agents.py list --project PROJECT_ID --location LOCATION\r
python scripts/agents.py create --project PROJECT_ID --location LOCATION --name "My Agent"\r
python scripts/agents.py get --project PROJECT_ID --location LOCATION --agent AGENT_ID\r
python scripts/agents.py update --agent AGENT_NAME --name "New Name"\r
python scripts/agents.py delete --agent AGENT_NAME\r
```\r
\r
## Tips\r
\r
- Use `locations/global` for multi-region agents\r
- Agent IDs are generated automatically on creation
Usage Guidance
This skill appears to do only Dialogflow CX agent management. Before installing: (1) Be prepared to authenticate with gcloud or provide a service-account JSON (GOOGLE_APPLICATION_CREDENTIALS) — treat that JSON like sensitive credentials and use least-privilege roles. (2) Install the listed Python packages in an isolated environment (venv) so third-party libs don't affect system packages. (3) Review the included scripts locally if you want to verify behavior; exports write agent content to disk. (4) Note the registry metadata did not list the env vars referenced in SKILL.md (TOKEN and GOOGLE_APPLICATION_CREDENTIALS), so ensure you supply credentials only when you trust the runtime.
Capability Analysis
Type: OpenClaw Skill Name: dialogflow-cx-agents Version: 1.0.0 The skill bundle is classified as suspicious due to potential vulnerabilities rather than explicit malicious intent. The `scripts/agents.py` file includes an `export_agent` function that writes to a user-specified `output_file`. If the OpenClaw agent or user input does not properly sanitize this argument, it could lead to arbitrary file write (e.g., path traversal), allowing an attacker to overwrite or create files in arbitrary locations. Additionally, the `SKILL.md` provides `curl` examples that, if executed directly by an agent with unsanitized user input, could be vulnerable to shell injection. While these are significant risks, they represent vulnerabilities that *allow* attacks rather than code *designed* for malicious actions like data exfiltration to unauthorized endpoints or backdoor installation.
Capability Assessment
Purpose & Capability
Name and description (Dialogflow CX agent management) align with the included scripts and SKILL.md. The Python CLI uses the google-cloud-dialogflow-cx client and exposes list/get/create/update/delete/export/validate operations — all expected for this purpose.
Instruction Scope
SKILL.md contains concrete curl examples and a CLI usage for the included script. It instructs using gcloud auth or a service account and to provide PROJECT_ID, LOCATION, AGENT_ID, or full agent names. It does not attempt to read unrelated system files or send data to non-Google endpoints. Note: SKILL.md references the environment variable GOOGLE_APPLICATION_CREDENTIALS and a TOKEN variable (from gcloud) — these are normal but are not declared in the registry metadata.
Install Mechanism
No install spec in registry; the script recommends installing standard PyPI packages (google-cloud-dialogflow-cx, google-auth) via pip. No downloads from unknown URLs or extraction of remote archives are present.
Credentials
The skill requires Google Cloud credentials to operate (gcloud auth / bearer token or GOOGLE_APPLICATION_CREDENTIALS pointing to a service account JSON). Those credentials are appropriate and necessary for Dialogflow management, but the registry metadata lists no required env vars — SKILL.md uses environment variables that the metadata did not declare.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. It does not modify other skills or system-wide settings. Exporting agents writes to a local file (as expected) or references a GCS URI, which is within scope.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dialogflow-cx-agents
  3. After installation, invoke the skill by name or use /dialogflow-cx-agents
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the Dialogflow CX Agents skill. - Enables creating, listing, updating, and deleting Dialogflow CX agents via the v3beta1 REST API. - Includes authentication instructions for both gcloud CLI and service account workflows. - Provides curl examples for common agent management operations. - Bundles a CLI tool (`scripts/agents.py`) for agent management tasks. - Documentation covers API endpoints, usage examples, and key tips for working with regional and global agents.
Metadata
Slug dialogflow-cx-agents
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Dialogflow Cx Agents?

Manage agents in Google Dialogflow CX via REST API. Use for creating, listing, updating, and deleting chatbot agents. Supports v3beta1 API. It is an AI Agent Skill for Claude Code / OpenClaw, with 396 downloads so far.

How do I install Dialogflow Cx Agents?

Run "/install dialogflow-cx-agents" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dialogflow Cx Agents free?

Yes, Dialogflow Cx Agents is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Dialogflow Cx Agents support?

Dialogflow Cx Agents is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dialogflow Cx Agents?

It is built and maintained by Yash Kavaiya (@yash-kavaiya); the current version is v1.0.0.

💬 Comments