mirror of
https://github.com/csunny/DB-GPT.git
synced 2026-07-17 10:16:49 +00:00
Co-authored-by: lusain <lusain1990@gmail.com> Co-authored-by: alan.cl <1165243776@qq.com> Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
25 lines
543 B
Python
Executable File
25 lines
543 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Example script for the skill.
|
|
|
|
This script can be called by Claude to perform deterministic operations.
|
|
Replace this with your actual skill logic.
|
|
"""
|
|
|
|
import sys
|
|
import json
|
|
|
|
def main():
|
|
"""Main entry point."""
|
|
if len(sys.argv) < 2:
|
|
print("Usage: python3 example.py <input>")
|
|
sys.exit(1)
|
|
|
|
input_data = sys.argv[1]
|
|
# TODO: Add your skill logic here
|
|
result = {"status": "success", "input": input_data}
|
|
print(json.dumps(result, indent=2))
|
|
|
|
if __name__ == "__main__":
|
|
main()
|