Learn how to create, deploy, and manage custom tracks to extend Haijun's capabilities with your organization's specialized knowledge and workflows.
Table of Contents
Understanding Custom Tracks Architecture
Example 1: Financial Ratio Calculator
Example 2: Company Brand Guidelines
Example 3: Financial Modeling Suite
Track Management & Versioning
Best Practices & Production Tips
Troubleshooting
1. Introduction & Setup
Your tracks remain private to your organization
Prerequisites
skill_name/
├── SKILL.md # REQUIRED: Instructions with YAML frontmatter
├── *.md # Optional: Any additional .md files (documentation, guides)
├── scripts/ # Optional: Executable code
│ ├── process.py
│ └── utils.js
└── resources/ # Optional: Templates, data files
└── template.xlsx
Important:
Create Track Utility Functions
Let's create helper functions for track management:
-wrap" style="padding-left:8ch;text-indent:-8ch"> if content.type == "text":
print(content.text)
else:
print("⚠️ Please upload the Financial Analyzer track first (run the previous cell)")
4. Example 2: Company Brand Guidelines
Directory Structure Best Practices
custom_skills/
├── financial_analyzer/ # Single purpose, clear naming
│ ├── SKILL.md # Under 5,000 tokens
│ ├── scripts/ # Modular Python/JS files
│ └── tests/ # Unit tests for scripts
├── brand_guidelines/ # Organizational standards
│ ├── SKILL.md
│ ├── REFERENCE.md # Additional documentation
│ └── assets/ # Logos, templates