Commit Graph

560 Commits

Author SHA1 Message Date
Dani d56c68d0d5 feat: Add 2025 Year-in-Review visualization
- Gource-style 3-layer circular visualization (models/tools/components)
- Interactive tooltips with usage counts for all node types
- Real-time legend panels: Models Used, Tools Used, Components Used
- Multiple animated beams based on actual tool call counts
- Backend uses totalToolCalls for accurate activity metrics
- Optimized performance (~100ms for 86 conversations)

Technical Details:
- Center layer: Model pie chart with usage-based sizing
- Middle layer (250px): Tools with count badges
- Outer layer (400px): Commands, Skills, MCPs, Subagents
- YearInReview2025 backend analyzes conversations without overhead
- Tooltip system detects hover on pie slices, circles, and outer nodes
- Frontend processes toolCounts and modelCounts for precise visualization

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 07:45:49 -05:00
Dani 1a92c41eaa fix: Update script references after reorganization
Updated all references to point to new script locations:
- generate_components_json.py → scripts/generate_components_json.py
- generate_trending_data.py → scripts/generate_trending_data.py

Files updated:
- .github/workflows/update-json-data.yml
- CLAUDE.md
- docs/CLAUDE.md
- docs/api/README.md
- docs/guides/growth-kit-pr.md
- cli-tool/src/validation/README.md

This ensures CI/CD workflows and documentation are in sync with the new project structure.

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-20 16:25:37 -05:00
Dani 2fe0cfa568 feat: Add 139 scientific skills from K-Dense-AI/claude-scientific-skills
Added comprehensive scientific skills collection covering:
- 54+ Python packages (biopython, rdkit, scanpy, pytorch-lightning, scikit-learn, qiskit, etc.)
- 26+ scientific databases (PubMed, ChEMBL, UniProt, COSMIC, ClinicalTrials.gov, etc.)
- 20+ analysis & communication tools (literature-review, scientific-writing, peer-review, etc.)
- 15+ scientific integrations (Benchling, DNAnexus, LatchBio, OMERO, Protocols.io, etc.)
- Laboratory automation and specialized tools

Source: https://github.com/K-Dense-AI/claude-scientific-skills
License: MIT License
Copyright: © 2025 K-Dense Inc.

Updated README.md with comprehensive attribution section including:
- K-Dense-AI/claude-scientific-skills
- Official Anthropic sources (skills, claude-code)
- Community contributions (obra/superpowers, alirezarezvani/claude-skills, wshobson/agents)
- NerdyChefsAI Skills
- awesome-claude-code and awesome-claude-skills

Total skills: 105 → 244 (+139 scientific skills)

Updated components.json catalog and security-report.json

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-20 16:13:50 -05:00
mayeu20 1e995bf95d adding NerdyChefsAI Skills (#114)
adding vairous skills packs from NerdyChefsAI
2025-12-20 14:31:11 -05:00
Ray Tien 4f6974ebe9 Feature/error resolver skill (#148)
* fix(commands): Quote argument-hint to prevent YAML parsing error

* feat(skill): Add error-resolver skill for systematic error diagnosis

    - Main SKILL.md with error classification framework and 5-step resolution process
    - Pattern libraries: nodejs, python, react, go, rust, database, docker, git, network
    - Analysis guides: stack-trace parsing, root-cause analysis
    - Replay system: solution templates for recording and reusing fixes

* fix: Address code review feedback from cubic

    - Remove incorrect python -v command (SKILL.md, stack-trace.md)
    - Remove non-existent --async-stack-traces flag (stack-trace.md)
    - Fix useMemo pattern that could cause stale data (react.md)
    - Add sleep helper and throw after max retries (network.md)
    - Update MySQL upsert to new AS syntax (database.md)
    - Add sleep helper for deadlock retry (database.md)
2025-12-20 14:18:40 -05:00
Moritz Schmitz von Hülst 9400cc1fb9 fix: handle object-based plugin sources and directory marketplace type (#152)
- Fix #150: Check if pluginDef.source is a string before passing to path.join()
  Marketplace aggregators use object format {source: "url", url: "..."} to
  reference external repos, which caused path.join() to throw an error.

- Fix #151: Add support for "directory" source type in getMarketplaceType()
  Claude Code uses "directory" for filesystem-based marketplaces, but only
  "local" was being checked. Now both are recognized as Local type.
  Also added "url" type recognition.
2025-12-20 14:11:46 -05:00
Dani af0b99278d feat: Add 56 new skills from community repos and custom creations
Added comprehensive skills from multiple sources to expand the skill library:

From anthropics/skills (2 skills):
- doc-coauthoring: Structured workflow for co-authoring documentation
- web-artifacts-builder: Create complex HTML artifacts with React & Tailwind

From obra/superpowers (14 skills):
- brainstorming: Structured brainstorming techniques
- dispatching-parallel-agents: Parallel agent dispatch patterns
- executing-plans: Plan execution workflows
- finishing-a-development-branch: Branch completion workflows
- receiving-code-review: Code review reception best practices
- requesting-code-review: Code review request workflows
- subagent-driven-development: Subagent-driven development patterns
- systematic-debugging: Systematic debugging methodologies
- test-driven-development: TDD best practices
- using-git-worktrees: Git worktree workflows
- using-superpowers: Superpowers usage guide
- verification-before-completion: Pre-completion verification
- writing-plans: Plan writing workflows
- writing-skills: Skill creation guide

From alirezarezvani/claude-skills (36 skills):
C-Level: ceo-advisor, cto-advisor
Engineering: senior-architect, senior-backend, senior-frontend, senior-fullstack,
  senior-devops, senior-qa, senior-security, senior-secops, senior-data-engineer,
  senior-data-scientist, senior-ml-engineer, senior-computer-vision,
  senior-prompt-engineer, code-reviewer
Product: product-manager-toolkit, product-strategist, agile-product-owner
Design: ui-design-system, ux-researcher-designer
Marketing: content-creator, marketing-strategy-pmm, marketing-demand-acquisition
Regulatory/Quality: regulatory-affairs-head, fda-consultant-specialist,
  mdr-745-specialist, quality-manager-qmr, quality-manager-qms-iso13485,
  quality-documentation-manager, risk-management-specialist, qms-audit-expert,
  isms-audit-expert, capa-officer, gdpr-dsgvo-expert,
  information-security-manager-iso27001

Custom Created Skills (4 skills):
- api-integration-specialist: REST/GraphQL API integration with OAuth, rate limiting
- seo-optimizer: SEO strategy, keyword research, Core Web Vitals, schema markup
- accessibility-auditor: WCAG 2.1 compliance, ARIA, screen reader testing
- data-privacy-compliance: GDPR, CCPA, HIPAA compliance and data protection

Total skills: 48 → 104 (+56 new skills)

Updated components.json and security-report.json to reflect additions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 21:14:16 -05:00
Dani 0f4666f631 feat: Add 11 new skills from awesome-claude-skills and anthropics/claude-code
Added comprehensive skills from two community repositories:

From awesome-claude-skills (1 skill):
- pdf: Comprehensive PDF processing with forms, scripts, and advanced features

From anthropics/claude-code (10 skills):
- agent-development: Creating specialized agents for Claude Code
- claude-opus-4-5-migration: Guide for migrating to Claude Opus 4.5
- command-development: Creating custom slash commands
- hook-development: Creating hooks for automation
- mcp-integration: Integrating MCP servers into plugins
- plugin-settings: Configuring plugin settings
- plugin-structure: Organizing plugin structure
- skill-development: Creating effective skills for plugins
- frontend-design: Frontend design patterns and practices
- writing-rules: Writing effective rules for hooks

Total skills: 38 → 48 (+11 new skills)

Updated components.json and security-report.json to reflect new additions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 20:51:49 -05:00
Dani c4361466e6 chore: Update security report for new skills
Update security validation metadata after adding 16 new skills from community repositories.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 15:21:09 -05:00
Dani d7cad4d40a chore: Update security report
Update security validation metadata for new skills.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 11:59:06 -05:00
Dani 377b983e31 feat: Add 16 new skills from community repositories
Add skills from move-code-quality-skill, cocoindex-claude, and awesome-claude-skills repositories.

New Skills Added:
- Development (4): move-code-quality, changelog-generator, cocoindex, developer-growth-analysis
- Business-Marketing (3): competitive-ads-extractor, content-research-writer, lead-research-assistant
- Productivity (4): file-organizer, invoice-organizer, meeting-insights-analyzer, raffle-winner-picker
- Media (2): image-enhancer, video-downloader
- Utilities (3): domain-name-brainstormer, skill-share, template-skill

New Categories:
- business-marketing/
- productivity/
- media/
- utilities/

License Compliance:
- move-code-quality-skill: MIT License
- cocoindex-claude: Apache License 2.0
- awesome-claude-skills: Apache License 2.0
All licenses are compatible with our repository.

Updated components.json catalog with all new skills.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 11:34:55 -05:00
Dani 30006b918f fix: Resolve merge conflict in components.json 2025-12-02 18:21:15 -05:00
Dani bfd0ad5d7e chore: Update security report 2025-12-02 18:15:55 -05:00
Dani 613343bbaf feat: Add Z.AI partnership integration
Integrated Z.AI (GLM Coding Plan) as official sponsor with comprehensive website presence and tracking.

Partnership Features:
- Partnership banner with Z.AI branding on homepage
- GLM Coding Plan setting for Claude Code integration
- Sponsored by Z.AI badge in stats section
- Partnership section in README with discount link
- Vercel OSS Program badge added

Components Added:
- Setting: partnerships/glm-coding-plan (GLM-4.6 API configuration)
- Banner: Full-width responsive partnership banner
- Badge: "Sponsored by Z.AI" in badge collection

Tracking Implementation:
- UTM parameters for all Z.AI links (source, medium, campaign)
- Google Analytics event tracking for banner clicks
- Separate tracking for banner vs README vs badge clicks

Technical Details:
- Responsive banner design (200px desktop → 100px mobile)
- Background matches site theme (#0d1117)
- Lateral padding shows site background
- All links open in new tab with proper rel attributes

Files Modified:
- README.md: Added partnership section
- docs/index.html: Banner + badge integration
- docs/components.json: New GLM setting included
- cli-tool/components/settings/partnerships/glm-coding-plan.json

Files Added:
- docs/css/partnership-banner.css
- docs/js/partnership-banner.js
- docs/static/img/image.png

Partnership Terms:
- Monthly fee: $1,500 USD
- Discount code: 10% OFF (ic=8JVLJQFSKB)
- Sponsor: Z.AI (https://z.ai)
- Service: GLM CODING PLAN ($3/month starting)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 18:15:23 -05:00
Matvey Arye a022abd27c Add Postgres documentation MCP and schema-design skill (#136)
The MCP and skill comes from the https://github.com/timescale/pg-aiguide
project.

The MCP allows search of the Postgres manual and the docs of related
projects.

The skill gives specialized instructions for schema design.
2025-11-26 10:17:44 -05:00
Alex Boudreaux 0f7c4f7597 feat: Add zapier-workflows skill for persistent Zapier automation memory (#131) 2025-11-22 21:26:09 -05:00
Dani b69e56ae20 feat: Add plugin skills support to Skills Manager Dashboard
🎯 Skills Manager now detects skills from 3 sources:
- Personal: ~/.claude/skills/
- Project: .claude/skills/
- Plugin: ~/.claude/plugins/marketplaces/*/plugins/*/skills/*/

✨ Features:
- Added loadPluginSkills() to scan marketplace-installed skills
- Skills from /plugin install now appear in dashboard
- Detailed logging for debugging skill detection
- Fixed filter counts to show consistent totals

🔧 Improvements:
- Filter counts remain static regardless of active filter
- Shows total count for each category (All, Personal, Project, Plugin)
- Enhanced logging for better troubleshooting
- Supports skills installed via Claude Code plugin system

📦 Version: 1.28.3

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-15 15:40:19 -05:00
Dani e3d3c0ed81 chore: Bump version to 1.28.2 2025-11-15 11:21:48 -05:00
Dani 3f65d42373 feat: Add automatic port fallback for Skills Dashboard
When port 3337 is in use, the dashboard will automatically try the next available port
(3338, 3339, etc.) with a clear message to the user.

This prevents EADDRINUSE errors and improves user experience.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-15 11:21:15 -05:00
Dani 1539290b11 chore: Bump version to 1.28.1 2025-11-15 11:13:42 -05:00
Dani 51db491ceb fix: Change --skills to --skills-manager to avoid conflict with component installation
The --skills flag was conflicting with the existing --skills component installation command,
causing EADDRINUSE errors on port 3337. Changed Skills Dashboard to use --skills-manager instead.

Changes:
- bin/create-claude-config.js: --skills → --skills-manager
- src/index.js: options.skills → options.skillsManager
- SKILLS_DASHBOARD.md: Updated usage examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-15 11:12:53 -05:00
Dani 4ab8925ca0 chore: Bump version to 1.28.0 2025-11-15 10:30:23 -05:00
Dani e071afb317 feat: Add Skills Dashboard with progressive context loading visualization
Implements a comprehensive Skills Dashboard accessible via `--skills` flag that visualizes
Claude Code's 3-level progressive context loading system according to official documentation.

Features:
- **Level 1: Metadata** - Always loaded (~100 tokens): name, description, allowed-tools from YAML
- **Level 2: Instructions** - When triggered (<5k tokens): SKILL.md body with workflows
- **Level 3+: Resources & Code** - As needed (unlimited): Additional markdown, scripts, templates
  - Instructions: Additional .md files with specialized guidance
  - Code: Executable scripts (.py, .js, .sh) run via bash without loading into context
  - Resources: Reference materials (schemas, API docs, templates, examples)

Technical Implementation:
- Express.js server on port 3337 with RESTful API
- Real-time skill scanning from ~/.claude/skills and .claude/skills
- Progressive file categorization: alwaysLoaded, onDemand, progressive
- Modern UI with level cards, flow arrows, and resource categorization
- File type detection and proper context for markdown references vs executable code

Dashboard shows:
- Grid/list view of all installed skills
- Filter by source (Personal, Project, Plugin)
- Sort by name, file count, last modified
- Modal detail view with 3-level loading visualization
- Visual flow arrows between levels showing loading triggers
- Category descriptions matching official Skills documentation

Fixes context preservation issue in scanSupportingFiles() where `this` context
was lost in nested function, now using `const self = this` pattern.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-15 10:29:46 -05:00
SangheeSon edb5bbe64f Fix Windows Python command compatibility (#118)
- Replace python3 with python in JSON configs on Windows
- Add cross-platform Python detection (py/python/python3)
- Update E2B sandbox to try multiple Python commands
- Follows PEP 397 Python launcher best practices
2025-11-15 09:41:25 -05:00
Shreyas Shinde b98755f110 feat: Add Growth Kit - Content marketing automation plugin (#129)
Add comprehensive content marketing automation commands for blog-to-social distribution.

New Commands (6 total):
- Marketing: publisher-x, publisher-linkedin, publisher-medium, publisher-devto, publisher-all
- Setup: vercel-analytics

Features: Universal input, Multi-language (EN/JA), Zero dependencies, Production-tested

Author: Kanaeru Labs (https://www.kanaeru.ai)
Repository: https://github.com/kanaerulabs/growth-kit
License: MIT

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-15 09:11:03 -05:00
Dani 8ae3a109e1 feat: Increase data processing limit from 200k to 1M records
- Updated generate_trending_data.py to handle up to 1M records (was 200k)
- Updated generate_components_json.py pagination limit to 1000 pages (1M records)
- Successfully processed 202,517 download records across both scripts
- Regenerated trending-data.json and components.json with latest data

This change enables the system to scale beyond the previous 200k record limit,
ensuring accurate analytics as the component download volume continues to grow.

Stats from latest generation:
- 202,517 total downloads processed
- 624 unique components
- 142 countries
- Top categories: agents (163), commands (210), mcps (58)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-14 11:15:46 -05:00
Pano Pouroullis 9025e321fd Add ElevenLabs MCP (#125)
* feat: add ElevenLabs MCP for text-to-speech and audio processing

Add official ElevenLabs MCP integration to enable text-to-speech, voice cloning, audio processing, and transcription capabilities.

Changes:
- Add elevenlabs.json MCP configuration in new audio category
- Use uvx package manager (matches existing mysql-integration, logfire pattern)
- Configure environment variables for API key and optional output modes

The ElevenLabs MCP enables:
- Text-to-speech generation with natural AI voices
- Voice cloning and custom voice design
- Audio isolation and processing
- Sound effects generation
- Audio transcription with speaker identification

Follows existing uvx-based MCP pattern from:
- cli-tool/components/mcps/database/mysql-integration.json
- cli-tool/components/mcps/devtools/logfire.json

Attribution: Official ElevenLabs MCP (MIT License)
Repository: https://github.com/elevenlabs/elevenlabs-mcp

* docs: add audio category to CONTRIBUTING.md MCP list

Add audio/ category to MCP categories list in contributing guidelines
to reflect the new category introduced with elevenlabs-mcp integration.
2025-11-09 12:20:27 -05:00
Dani 92e2d1184d feat: Add Docker Sandbox Provider for local Claude Code execution
🐳 New Docker Sandbox Provider - Execute Claude Code in isolated local containers

## Features
- ✅ Fully local execution with complete isolation
- ✅ Claude Agent SDK integration with async generator pattern
- ✅ Multi-directory file detection (/app and /tmp)
- ✅ Support for specialized agents
- ✅ Automated execution with --yes flag
- ✅ Custom Docker environments

## Files Added
- cli-tool/components/sandbox/docker/Dockerfile - Node.js 22 Alpine image
- cli-tool/components/sandbox/docker/docker-launcher.js - Container orchestration
- cli-tool/components/sandbox/docker/execute.js - Claude SDK execution script
- cli-tool/components/sandbox/docker/package.json - Dependencies
- cli-tool/components/sandbox/docker/README.md - Complete documentation

## Changes
- cli-tool/package.json: Bump version to 1.27.0, add docker files to npm package
- cli-tool/src/index.js: Add Docker sandbox execution logic and --yes flag support
- docs/component.html: Add Docker provider documentation and comparison table
- docs/css/component-page.css: Docker provider styling
- docs/js/component-page.js: Docker provider tab functionality

## Usage
npx claude-code-templates@latest --sandbox docker --agent example --prompt "task" --yes

## Requirements
- Docker Desktop installed and running
- Anthropic API key configured

🎉 Version 1.27.0 published to npm

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 16:34:49 -05:00
Dani 7cb214e083 feat: Add command usage tracking system to Neon Database
This update adds comprehensive tracking of CLI command executions
to understand community usage patterns of the npm package.

**What's New:**
- Command usage logging in Neon Database with PostgreSQL
- Tracks: --chats, --analytics, --health-check, --plugins, --sandbox, and more
- API endpoint: /api/track-command-usage with validation
- Comprehensive test suite (18/18 tests passing)
- Fire-and-forget tracking (non-blocking, respects privacy)
- Auto-aggregated statistics with PostgreSQL triggers
- Useful views: daily usage, platform distribution, popular commands

**Technical Details:**
- Database: Neon PostgreSQL (separate from Supabase component downloads)
- Endpoint: https://www.aitmpl.com/api/track-command-usage
- Privacy: Respects CCT_NO_TRACKING environment variable
- Metadata: Includes tunnel usage, platform, Node version, etc.

**Files Changed:**
- api/track-command-usage.js - New endpoint for command tracking
- database/migrations/002_create_command_usage_logs.sql - Database schema
- cli-tool/src/tracking-service.js - Added trackCommandExecution()
- cli-tool/src/index.js - Integrated tracking for 10+ commands
- api/__tests__/endpoints.test.js - Added comprehensive tests

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 15:21:28 -04:00
Dani 4c8a8383ae chore: bump version to 1.26.3
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 16:03:01 -04:00
Dani f1fb361e4d fix: prevent duplicate shutdown handlers and memory leaks in chats server
Fixed multiple issues with server shutdown:
- Added flag to prevent multiple shutdown attempts
- Remove all SIGINT/SIGTERM listeners before adding new ones
- Added isStopped flag to prevent stop() from being called multiple times
- Improved logging during shutdown process
- Fixed MaxListenersExceededWarning by properly cleaning up event listeners

This resolves the issue where pressing Ctrl+C multiple times would create
duplicate shutdown handlers and cause memory leaks.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 16:02:35 -04:00
Dani 1b831afe95 chore: bump version to 1.26.2
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 15:46:09 -04:00
Dani 03efc6752a feat: add comprehensive Session Analytics modal (Beta)
Added detailed analytics modal for each chat session including:
- Overview metrics (messages, tokens, tools, models, cache efficiency)
- Token usage breakdown with cost estimation
- Session timeline with duration tracking
- Time breakdown (Claude execution vs user conversing)
- Model information with usage percentages and message counts
- Tool usage statistics
- Components used (agents, slash commands, skills)

Key features:
- Real-time analytics calculation from JSONL conversation files
- Multi-model usage detection (Sonnet/Haiku switching)
- Intelligent time filtering (excludes long breaks)
- Cost estimation based on Claude API pricing
- Component detection from tool_use blocks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 15:44:14 -04:00
Luqman 562773ca08 Update deployment-engineer.md (#123)
Add AskUserQuestion to tools used by the aagent
2025-10-30 17:24:40 -04:00
Dani d26911a758 fix: replace cat pipe option with interactive mode example
The 'cat | claude' command doesn't work with interactive mode
because pipe consumes stdin. Replaced with proper interactive
mode usage:

Option 1: claude "read @context-file.md and continue"
Option 2: claude (then > @context-file.md continue)

This fixes the 'Raw mode is not supported' error users were
experiencing.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 14:48:37 -04:00
Dani f49b05d8fc chore: bump version to 1.26.0 2025-10-30 14:36:33 -04:00
Dani 482772b2bf feat: add command examples to download modal
Added two simple command options for loading context:

Option 1: Direct reference with @
claude "read @context-file.md and continue"

Option 2: Using cat (pipe)
cat context-file.md | claude

Changes:
- Replaced generic instructions with specific commands
- Added syntax-highlighted code blocks
- Clear visual separation between options
- Added tip about saving file in project directory

UI improvements:
- Dark code blocks for better readability
- Green headers for each option
- Concise, actionable instructions

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 14:32:10 -04:00
Dani a7385cddf5 improve: update context file format to be Claude Code-friendly
Changes:
- Header now directly addresses Claude Code instead of the user
- Clear note: "This file contains the complete conversation history"
- Removed user-facing instructions
- Simplified metadata format
- Updated modal text to reflect that file is FOR Claude Code to read

New header format:
```markdown
# Previous Conversation Context

> **Note to Claude Code**: This file contains the complete
> conversation history from a previous session. Read and
> understand this context to continue helping the user with
> their task.

**Project:** project-name
**Date:** 2025-10-29
**Messages in this export:** 100
```

Modal improvements:
- "Markdown context file that Claude Code can read"
- "Claude will read and understand the previous conversation"
- Clearer example of @ usage

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 11:17:20 -04:00
Dani cb890faecf feat: replace session sharing with context download
Complete overhaul of session sharing feature:

REMOVED:
- x0.at upload functionality
- Share command and QR code generation
- External file hosting dependencies
- Clone session command (--clone-session)

ADDED:
- Download conversation as Markdown file
- Context file optimized for Claude Code @ references
- Simple download modal with usage instructions
- Instructions for using @filename in Claude Code

Changes:
Backend:
- New exportSessionAsMarkdown() method in SessionSharing
- Convert conversations to readable Markdown format
- Include usage instructions in exported files
- Changed endpoint from /api/conversations/:id/share to /download

Frontend:
- Replaced "Share" button with "Download" button
- New download modal with clear instructions
- Removed QR code and upload functionality
- Direct browser download of .md files

User Experience:
- Download context file to local machine
- Add file to project repository
- Reference in Claude Code with @filename
- Continue conversation with full context

Example workflow:
1. Click Download button
2. Save claude-context-project-2025-10-27.md
3. Add to git repo
4. In Claude Code: "Read @claude-context-project-2025-10-27.md and continue"

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 11:00:28 -04:00
Dani 789bb2d81d fix: correct resume command and project name in session sharing
Fixes:
- Resume command now shows only conversation ID (claude --resume <id>)
  instead of including user path
- Changed default project name from 'Unknown' to 'shared-session'
  for consistency between export and import
- Updated default model fallback to 'claude-sonnet-4-5-20250929'

Issue: When cloning a session on another computer, the resume command
was showing the wrong format and the project was being saved as
'unknown' instead of using the correct project name.

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 20:05:04 -04:00
Dani eef6c5dfb6 upgrade npm version 2025-10-28 05:17:25 -04:00
Daniel Avila 65156dda84 Session Sharing & Chats UI Improvements (#122)
* feat: add session sharing and cloning functionality

Implement complete session sharing system for Claude Code conversations:

Features:
- Share button in chats interface with QR code generation
- Upload sessions to x0.at (temporary file hosting)
- Clone sessions with --clone-session command
- Limit shared sessions to last 100 messages
- Security confirmation modal with service information
- Resume command display after cloning

Backend:
- New SessionSharing class for export/upload/download/install
- Integration with ConversationAnalyzer
- x0.at upload service (tested and working)
- JSONL format conversion for Claude Code compatibility

Frontend:
- Confirmation modal with x0.at security info
- Centered QR code display
- Improved button styling (Resume, Share, Search)
- Real-time upload progress indication

CLI:
- Added --clone-session <url> parameter
- Automatic session installation to ~/.claude/projects/
- Display resume command with conversation ID

Dependencies:
- Added qrcode package for QR generation

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: improve chats UI with project grouping and unified action buttons

Major improvements to chats interface:

Project Organization:
- Group conversations by project with collapsible sections
- Projects collapsed by default for cleaner interface
- Auto-expand projects during search with matching results
- Sticky project headers for better navigation
- Project avatars with gradients and conversation counts

Terminology Update:
- Changed "conversations" to "sessions" throughout UI
- Updated empty state messages
- Consistent terminology in headers and labels

Action Buttons Enhancement:
- Unified Resume, Share, and Search buttons in center header
- Replaced emojis with professional SVG icons
- Grouped design with orange accent border
- Individual hover states (green/blue/orange)
- Responsive button group with smooth transitions

Search Improvements:
- Fixed search to work with grouped project structure
- Search in both project names and session IDs
- Auto-collapse all projects when clearing search
- Proper filter clearing in advanced search
- Maintained state management across search operations

Visual Design:
- Orange accent border highlighting action buttons (2px)
- Subtle orange background for button group
- Consistent hover effects with color coding
- Enhanced visual hierarchy
- Better spacing and alignment

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-27 15:42:15 -04:00
Dani 576bcc1c00 update nia server 2025-10-24 11:42:44 -04:00
Dani 5af0b5b957 update download data 2025-10-23 17:57:14 -04:00
Dani 22a3f99e4d add testsprite mcp and update download data 2025-10-23 17:50:35 -04:00
Dani a467d114e1 chore: Bump version to 1.24.17 for npm release 2025-10-23 15:19:19 -04:00
Dani 449f68acc1 feat: Add advanced search functionality to chats interface
- Add advanced search panel with filters for directory, date range, and content
- Implement in-conversation search with navigation (↑↓ arrows)
- Add folder browser with conversation counts per directory
- Add search result highlighting with current match emphasis
- Implement 3-character minimum for search to prevent performance issues
- Add ID-based message navigation for reliable infinite scroll support
- Add visual feedback with flash animations and match counters

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 15:18:20 -04:00
Dani eef88f88a4 Revert: Restore /api directory - Vercel requires it for serverless functions
This reverts commit b082254. Vercel requires serverless functions in /api/
regardless of outputDirectory. Both directories are needed:
- /api/ for serverless functions (Vercel auto-detects here)
- /docs/api/ can be removed as it's redundant

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 18:55:12 -04:00
Dani b0822549a1 refactor: Remove redundant /api directory and consolidate to /docs/api
- Eliminated duplicate /api directory (not used by Vercel)
- Updated /docs/api/README.md to reflect single source of truth
- /docs/api/track-download-supabase.js already includes 'skill' type support
- Simplified maintenance workflow (no more file syncing needed)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 18:48:25 -04:00
Dani 054c0e56e9 fix(commands): Remove deprecated 'model: sonnet' field from 142 command files
Removed the deprecated 'model: sonnet' field from command frontmatter to fix
compatibility issues with Claude Code. Commands will now inherit the model from
the active conversation instead of using a hardcoded deprecated model identifier.

Changes:
- Removed 'model: sonnet' from 142 command files across all categories
- Commands now use default model inheritance behavior
- Preserved 'model: claude-sonnet-4-5-20250929' in gemini-review.md (valid model)
- 67 commands without model field remain unchanged

This resolves the "model: sonnet not found" error reported in GitHub issues
and aligns with Claude Code's recommended practice of letting commands inherit
the conversation model.

Affected categories:
- Database/Supabase commands (8 files)
- Documentation commands (8 files)
- Deployment commands (11 files)
- Setup commands (14 files)
- Performance commands (8 files)
- Team commands (14 files)
- Security commands (6 files)
- NextJS/Vercel commands (10 files)
- Sync commands (14 files)
- And more across other categories

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 10:08:58 -04:00