Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firefly AI Folder Logo

Firefly AI Folder — AI File Organizer Skill

Empower your AI Agent (OpenClaw, Claude Desktop, Cursor, etc.) to analyze, tag, search, and organize files locally.

License: MIT Desktop App Repo Node.js Platform

English | 简体中文


💡 What is Firefly AI Folder Skill?

Firefly AI Folder Skill (ai-folder-organize) is an open-source bridge skill designed for AI Agents (such as OpenClaw, Claude Desktop, Cursor, and custom LLM workflows). It connects your AI Agent with the Firefly AI Folder Desktop App running on your computer.

With this skill, your AI Agent can seamlessly:

  • 🏷️ Retrieve AI Analysis Data: Fetch file tags, natural language descriptions, quality scores, and AI-suggested file names.
  • 🔍 Semantic & Full-Text Search: Search files by keywords, tags, or natural language content summaries.
  • 📂 Workspace Navigation: Browse local workspace structures and file trees.
  • 📊 Monitor AI Progress: Query real-time AI analysis queue status and processing percentages.
  • 📁 Virtual Directory Management: Generate multi-perspective file organization plans (e.g., by project, topic, or timeline) without moving physical files or taking extra disk space.
  • 🧹 Apply Organization Plans: Push AI-generated organization structures directly to the desktop app UI for instant preview and one-click application.

🖥️ About Firefly AI Folder Desktop App

The Firefly AI Folder Desktop App is an open-source, local-first AI file management application built with Electron, React, and TypeScript.

🌟 Full Key Features of Desktop App:

  1. 🧠 Local AI-First & 100% Privacy-Preserving Built-in embedded llama.cpp high-performance AI engine (supports GPU/CPU acceleration), also compatible with cloud LLM APIs. 100% private, offline-capable, and zero cloud uploads.

  2. 📂 Automated AI File Categorization & Queue Analysis Smartly recognizes documents, images, video, audio, and code files with asynchronous background queue processing for metadata and text extraction.

  3. 🏷️ Auto-Tagging & Natural Language Deep Summaries Understands file content to automatically extract core semantics, generating multi-dimensional tags and rich natural language summaries.

  4. ✏️ Semantic Smart Batch Renaming Say goodbye to "Untitled(1).txt" or "DSC_0042.jpg"! AI renames files based on actual content with one-click batch processing.

  5. 📁 Innovative "Multi-Dimensional Virtual Directories" Organizes files into virtual views (by project, timeline, topic) without moving physical files or wasting extra disk space.

  6. 🧹 Flexible Exporting for Virtual & Real Directories Export organization plans as virtual folders (usable like real files with zero disk usage) or apply changes to move real physical files.

  7. 🔍 Semantic Search & Hash/Semantic Deduplication Search files by content, tags, or summaries. Supports intelligent duplicate detection based on file content hashes and semantic similarity.

  8. 🖼️ 200+ Native File Previews & OCR Support Native instant preview for Office documents, PDFs, ebooks, code, 3D models, audio/video, and archives. Includes built-in OCR text extraction for images and documents.

  9. File Quality Scoring & Extension Correction Evaluates file value for relevance ranking, detects real file formats, and corrects wrong or missing file extensions.

  10. 🌐 Cross-Platform & 10+ Languages UI Cross-platform desktop app supporting Windows, macOS, and Linux with native UI available in 10+ languages.

🔗 Desktop App GitHub Repository: https://github.com/Leonard-Li777/firefly-ai-folder-desktop


🌟 Key Features (Skill Probe)

Feature Description
🚀 Smart Discovery Probe discover.js automatically detects whether Firefly AI Folder desktop app is installed, running, and API-ready.
🌍 Location-Aware Geo Detection Dynamically directs users to China Mainland (https://aifolder.iocn.cn) or International (https://www.aifolder.net) download sites based on timezone and system locale.
🛡️ 100% Privacy & Local-First Communicates with the local desktop client on localhost (127.0.0.1). All file analyses are processed locally without cloud uploads.
📂 Non-Destructive Virtual Folders Create multi-angle virtual folder views without moving or risking damage to original local files.
🌐 Multi-Language Ready Fully supports multi-language responses and automatic translation guidelines for international LLMs.
🔧 File Processing Tool APIs Direct access to OCR, file type identification, metadata extraction, and document preview generation via unified Skill Tool APIs.

📁 Repository Structure

ai-folder-organize/
├── SKILL.md         # OpenClaw & Agent skill specification and prompt guardrails
├── discover.js      # Three-stage API discovery & health check probe script
├── REFERENCE.md     # Detailed HTTP REST API reference manual
├── README.md        # English documentation (You are here)
└── README_zh.md     # 简体中文文档

🚀 Quick Start

1. Installation

Option A: GitHub Import (ClawHub)

Directly import this skill into ClawHub or your OpenClaw environment:

  1. Open ClawHub (https://clawhub.ai or your OpenClaw skill manager).
  2. Choose Import from GitHub and specify this repository URL: https://github.com/Leonard-Li777/ai-folder-organize.

Option B: Git Clone / Manual Copy

Clone or copy this directory into your OpenClaw skills directory:

git clone https://github.com/Leonard-Li777/ai-folder-organize.git ~/.openclaw/workspace/skills/ai-folder-organize

2. Testing API Discovery Probe

Run discover.js with Node.js to check if the Firefly AI Folder desktop app is running and reachable:

node discover.js

Sample Output (When Desktop App is Connected):

{
  "baseUrl": "http://127.0.0.1:28686",
  "port": 28686,
  "host": "127.0.0.1",
  "startedAt": "2026-07-24T10:00:00.000Z"
}

If the desktop app is not installed or not running, discover.js will exit with code 1 and print formatted guidance and feature introduction via stderr.


🔌 API Endpoints Overview

Data Query & Workflow Endpoints

Endpoint Method Description
/api/workspaces GET List all configured workspaces and file trees
/api/analysis/queue-status GET Get analysis queue backlog status and current file
/api/analysis/progress GET Get overall file analysis completion percentage
/api/files/analysis-data GET Query detailed AI metadata (tags, summary, score) for a file
/api/files/search GET Full-text & semantic keyword file search
/api/organize/templates GET Get organization prompt templates for LLM reasoning
/api/organize/apply-plan POST Send custom virtual directory plan to desktop app modal
/api/virtual-directories GET Query existing virtual directory structures

File Processing Tool Endpoints (Extract APIs)

Endpoint Method Description
/api/health GET Worker service health check
/api/extract/ocr POST OCR text recognition for images/documents
/api/extract/identify POST Magika intelligent file type identification
/api/extract/metadata POST ExifTool metadata extraction (EXIF, document properties)
/api/extract/text POST Document content extraction (text, tables, images)
/api/extract/cover-image POST Document/image cover generation

File Analysis Data Endpoints (Files APIs)

Endpoint Method Description
/api/files/analysis-data GET Query file analysis data
/api/files/analysis-data-smart POST Smart get analysis data (auto check workspace + enqueue)

For complete request payload specifications and JSON schemas, see REFERENCE.md.


💻 Download & Desktop Source Code

To use this skill, you need the Firefly AI Folder desktop application running on your computer.

Supported Operating Systems: Windows, macOS, Linux.


📄 License

This project is licensed under the MIT License.

About

AI File Organizer for Firefly AI Folder. Analyze, categorize, smart-rename, batch-rename, smart-delete-duplicates, tag, find-duplicates, smart-move organize files by AI. Search files, monitor analysis progress, manage virtual directories, smart organization plans. / 萤核智能文件夹AI整理助手。AI分析、智能分类、智能命名、自动打标、自动描述、文件搜索、进度监控、虚拟目录管理、整理方案生成、文件去重、文件移动,处理个人与工作文件

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages