backup materials and knowledge-base docs
This commit is contained in:
91
文档润色流和知识库构建流/claude-scholar-upstream/settings.json.template
Normal file
91
文档润色流和知识库构建流/claude-scholar-upstream/settings.json.template
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"env": {
|
||||
"GITHUB_PERSONAL_ACCESS_TOKEN": "<your-github-token-optional>"
|
||||
},
|
||||
"hooks": {
|
||||
"PreToolUse": [
|
||||
{
|
||||
"matcher": "Bash|Write|Edit",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node -e \"const{execSync}=require('child_process'),p=require('path'),h=require('os').homedir();execSync(\\\"node \\\"+p.join(h,'.claude/hooks/security-guard.js'),{stdio:'inherit'})\"",
|
||||
"timeout": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionEnd": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node -e \"const{execSync}=require('child_process'),p=require('path'),h=require('os').homedir();execSync(\\\"node \\\"+p.join(h,'.claude/hooks/session-summary.js'),{stdio:'inherit'})\"",
|
||||
"timeout": 15
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node -e \"const{execSync}=require('child_process'),p=require('path'),h=require('os').homedir();execSync(\\\"node \\\"+p.join(h,'.claude/hooks/session-start.js'),{stdio:'inherit'})\"",
|
||||
"timeout": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Stop": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node -e \"const{execSync}=require('child_process'),p=require('path'),h=require('os').homedir();execSync(\\\"node \\\"+p.join(h,'.claude/hooks/stop-summary.js'),{stdio:'inherit'})\"",
|
||||
"timeout": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"UserPromptSubmit": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node -e \"const{execSync}=require('child_process'),p=require('path'),h=require('os').homedir();execSync(\\\"node \\\"+p.join(h,'.claude/hooks/skill-forced-eval.js'),{stdio:'inherit'})\"",
|
||||
"timeout": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"enabledPlugins": {
|
||||
"document-skills@anthropic-agent-skills": true,
|
||||
"github@claude-plugins-official": true,
|
||||
"superpowers@claude-plugins-official": true
|
||||
},
|
||||
"mcpServers": {
|
||||
"streamable-mcp-server": {
|
||||
"type": "streamable-http",
|
||||
"url": "http://127.0.0.1:12306/mcp",
|
||||
"description": "Chrome browser automation control service"
|
||||
},
|
||||
"zotero": {
|
||||
"command": "zotero-mcp",
|
||||
"args": ["serve"],
|
||||
"env": {
|
||||
"ZOTERO_API_KEY": "<your-api-key>",
|
||||
"ZOTERO_LIBRARY_ID": "<your-library-id>",
|
||||
"ZOTERO_LIBRARY_TYPE": "user",
|
||||
"UNPAYWALL_EMAIL": "<your-email@example.com>",
|
||||
"UNSAFE_OPERATIONS": "all"
|
||||
}
|
||||
}
|
||||
},
|
||||
"verbose": true
|
||||
}
|
||||
Reference in New Issue
Block a user