porteden-drive for Openclaw

A secure, AI-optimized command-line interface for comprehensive Google Drive file and folder management.

porteden
v1.0.0
Mar 18, 2026
2
1.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install porteden-drive

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install porteden-drive using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is porteden-drive?

porteden-drive is a high-performance skill designed for the Openclaw Skills framework, providing a secure and streamlined way to manage Google Drive assets directly from a CLI or AI agent. It serves as a robust alternative for handling cloud storage operations like searching, uploading, and permission management without the overhead of complex OAuth implementations in your code.

Built with developer experience in mind, this tool focuses on portability and security. It leverages the system keyring for credential storage and offers unique AI-optimized output formats that reduce token consumption, making it an essential component for any automated cloud workflow or AI-driven file management system.

porteden-drive Use Cases

  • Automating document uploads and organization within specific Google Drive folders.
  • Programmatically managing file permissions and sharing settings for team collaboration.
  • Building AI agents that can search for and retrieve specific metadata or download links from cloud storage.
  • Executing batch file operations like renaming, moving, or trashing files across large directories.
  • Integrating secure cloud storage capabilities into DevOps pipelines and CI/CD workflows.

How porteden-drive Works

  1. The user authenticates via the porteden CLI using browser-based login or a direct API token.
  2. Commands are issued using the provider-prefixed ID system (e.g., google:FILEID) to ensure target accuracy.
  3. The skill interfaces with Google Drive API through a secure bridge, handling pagination and complex query filtering.
  4. Output is generated using the -jc flag to provide compact, JSON-formatted data designed for easy parsing by AI agents.
  5. File metadata, sharing links, and permission status are returned as structured data for downstream processing.

porteden-drive Setup

To get started with this component of Openclaw Skills, install the porteden CLI and authenticate:

# Install via Homebrew
brew install porteden/tap/porteden

# Or install via Go
go install github.com/porteden/cli/cmd/porteden@latest

# Authenticate your account
porteden auth login

# Verify status
porteden auth status

Ensure your PE_API_KEY is set in your environment if you are running in a non-interactive CI/CD environment.

porteden-drive Data Schema & Taxonomy

The skill utilizes a structured JSON schema for all responses, specifically optimized for Openclaw Skills integrations.

Field Description
id Provider-prefixed identifier (e.g., google:123...)
name The display name of the file or folder
mimeType The standard MIME type of the Google Drive object
accessInfo Describes active token restrictions and scopes
hasMore Boolean indicator for auto-pagination status
authWarnings Notifications regarding provider connection health

porteden-drive Advanced Features

  • AI Optimization: Use the -jc (JSON Compact) flag to strip noise and reduce token usage for LLM processing.
  • Auto-Pagination: The --all flag automatically handles complex pagination up to 50 pages.
  • Profile Management: Support for PE_PROFILE allows users to switch between work and personal environments seamlessly.
  • Secure Keyring Integration: Credentials are never stored in plain text, utilizing the system's native secure storage.
  • Flexible Filtering: Advanced search capabilities using modified-date ranges, specific MIME types, and folder-depth constraints.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins porteden
Github Stars: 0
forks: 0

Featured*