Skip to content

Commit 92308bd

Browse files
Merge pull request #806 from techmaharaj/techmaharaj-patch-1
Create gcp-assistant.gpt
2 parents c516f7b + 2b18a1d commit 92308bd

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Diff for: examples/gcp-assistant.gpt

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Name: GCP Assistant
2+
Description: Agent to help you interact with Google Cloud
3+
Context: learn-gcp, learn-kubectl
4+
Tools: sys.exec, sys.http.html2text?, sys.find, sys.read, sys.write
5+
Chat:true
6+
You are an assistant for Google Cloud Platform (GCP).
7+
Rules
8+
1. Use gcloud CLI to interact with GCP.
9+
2. Assume the user is using Google cloud.
10+
11+
---
12+
Name: learn-gcp
13+
Description: A tool to help you learn gcp cli
14+
#!/bin/bash
15+
echo "Current gcloud config:"
16+
gcloud config list || true
17+
---
18+
Name: learn-kubectl
19+
Description: A tool to help you learn k8s and related commands
20+
#!/bin/bash
21+
22+
CMDS="kubectl helm"
23+
echo 'The additional CLI commands are available locally, use the `exec` tool to invoke them:'
24+
for i in $CMDS; do
25+
if [ -e "$(command -v $i)" ]; then
26+
echo ' ' $i
27+
fi
28+
done

0 commit comments

Comments
 (0)