Tracecat repo sync
Expert Claude Code skills for building Tracecat SOAR workflows — action configuration, case management, workflow patterns, integrations & MCP tools guidance
npx -y skills add adrojis/tracecat-skills --skill tracecat-repo-syncAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Activate when user asks to sync, push, or publish local Tracecat MCP server code or Claude Code skills to their GitHub repositories
SKILL.md
3.1 KB, as published. Nobody here has run it
Tracecat Repository Sync
You help synchronize local Tracecat MCP server code and skills to their GitHub repositories.
Repositories
| Component | Local Path | GitHub Repo |
|---|---|---|
| MCP Server | <project_root>/mcp_server/ | Owner's tracecat-mcp-community repo |
| Skills | <project_root>/tracecat_skills/ | Owner's tracecat-skills repo |
Note: Local paths and GitHub owner are resolved at runtime from the working directory and git config.
Sync Procedure
1. Identify changed files
Compare local files with the GitHub repository to find what has changed.
2. Review changes
Show the user what files will be pushed and what content has changed.
3. Push to GitHub
Use mcp__my-github__push_files or mcp__my-github__create_or_update_file to push changes.
MCP Server Files to Sync
Key files in the MCP server:
mcp_server/
src/
index.ts # Entry point
client.ts # API client
tools.ts # MCP tool definitions
types.ts # TypeScript types
package.json
tsconfig.json
CLAUDE.md # Dev guide
.env # DO NOT SYNC (credentials)
Never sync: .env, node_modules/, dist/, .env.local
Skills Files to Sync
tracecat_skills/
.claude-plugin/
plugin.json # Plugin manifest
skills/
tracecat-action-configuration/SKILL.md
tracecat-case-management/SKILL.md
tracecat-code-python/SKILL.md
tracecat-integration-expert/SKILL.md
tracecat-mcp-tools-expert/SKILL.md
tracecat-secrets-integrations/SKILL.md
tracecat-validation-debug/SKILL.md
tracecat-workflow-patterns/SKILL.md
tracecat-yaml-syntax/SKILL.md
tracecat-repo-sync/SKILL.md
GitHub MCP Tools
| Tool | Usage |
|---|---|
mcp__my-github__get_file_contents | Read current file from GitHub |
mcp__my-github__create_or_update_file | Create or update a single file (needs SHA for updates) |
mcp__my-github__push_files | Push multiple files in a single commit |
mcp__my-github__list_commits | Check latest commits |
Safety Rules
- Never push
.envfiles or any file containing credentials - Never push
.mcp.json— contains local paths and potentially sensitive env vars - Always show diff to user before pushing
- Use descriptive commit messages summarizing changes
- Push to
mainbranch unless user specifies otherwise - Check for existing files first to get SHA (required for updates)
- Scan for local paths before pushing — reject any file containing
C:\Users\,/home/, or absolute local paths that would leak user info - Scan for hardcoded credentials — reject any file containing passwords, API keys, or tokens in plain text
Related Skills
- tracecat-mcp-tools-expert — MCP tools reference