-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
54 lines (54 loc) · 1.43 KB
/
Copy pathplugin.json
File metadata and controls
54 lines (54 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "AnythingLLM-GitHub-Skill",
"hubId": "AnythingLLM-GitHub-Skill",
"version": "1.0.0",
"schema": "v1",
"active": true,
"description": "Read and search content from public GitHub repositories. Created with AI.",
"author": "@ericbrian",
"author_url": "https://github.com/ericbrian",
"license": "MIT",
"setup_args": {
"GITHUB_TOKEN": {
"type": "string",
"required": false,
"input": {
"type": "text",
"default": "",
"placeholder": "GitHub Personal Access Token (optional, for higher rate limits)"
}
}
},
"entrypoint": {
"file": "handler.js",
"params": {
"repository": {
"type": "string",
"required": true,
"description": "GitHub repository in format 'owner/repo'"
},
"path": {
"type": "string",
"required": false,
"description": "Path to file or directory in the repository",
"default": ""
},
"branch": {
"type": "string",
"required": false,
"description": "Branch name",
"default": "main"
}
}
},
"examples": [
{
"prompt": "Read the README from microsoft/vscode repository",
"call": "{repository: 'microsoft/vscode', path: 'README.md', branch: 'main'}"
},
{
"prompt": "Get the package.json from facebook/react",
"call": "{repository: 'facebook/react', path: 'package.json', branch: 'main'}"
}
]
}