Documentation · API Reference · Changelog
Tools Graph is a knowledge architecture for mapping the relationships between business tools, workflows, roles, and AI opportunities. Built for consultants and operations teams who need to understand how technology connects across an organisation.
Quick Start | Usage | Tech Stack | Troubleshooting | Known Issues | Roadmap | Contributing | License
# Install
npm install @chaimpion/tools-graph
# Run the explorer
npx tools-graph explore ./your-tools.yamlRequires Node.js 18+. For older versions, use the
--legacyflag.
# tools.yaml
tools:
- name: Slack
category: communication
integrates_with: [Google Calendar, Notion]
ai_opportunity: auto-summarise channels
- name: HubSpot
category: crm
integrates_with: [Slack, Gmail]
ai_opportunity: lead scoring automationnpx tools-graph build ./tools.yaml --output graph.html# Find all tools connected to Slack
npx tools-graph query "connected_to:Slack"
# Find AI opportunities by category
npx tools-graph query "ai_opportunity:*" --group-by category| Technology | Purpose |
|---|---|
| TypeScript | Type-safe graph operations |
| D3.js | Interactive graph visualisation |
| YAML | Human-readable tool definitions |
| SQLite | Local graph database (optional) |
YAML parse error on Windows
Symptom: YAMLException: bad indentation on Windows machines.
Fix: Ensure your editor uses spaces, not tabs. Run npx tools-graph lint ./tools.yaml to validate.
Graph renders blank in Safari
Symptom: HTML output opens but shows an empty canvas.
Fix: Update to Safari 17+. The D3 force layout requires structuredClone support.
- Graphs with 500+ nodes may be slow to render — #47
- Dark mode colours not yet optimised — workaround: use
--theme light
- YAML tool definitions
- Interactive HTML graph output
- Query language for relationships
- AI opportunity scoring engine
- Figma plugin for visual editing
- Team collaboration (shared graphs)
Found a bug? Have a feature request? Open an issue.
Contributions are welcome. See CONTRIBUTING.md for guidelines.
- Fork the repo
- Create a feature branch (
git checkout -b feature/your-feature) - Commit your changes
- Open a Pull Request
MIT — see LICENSE for details.
Built by CHaiMPION
