Agent skill
gg
Search the web using Google Gemini AI, combining search results with AI-generated answers. Core Scenario: When the user needs real-time information from the web with AI-summarized responses and source citations.
Install this agent skill to your Project
npx add-skill https://github.com/x-cmd/skill/tree/main/data/x-cmd/gg
SKILL.md
gg - AI Web Search & Synthesis
The gg module leverages Google Gemini AI to perform real-time web searches, providing synthesized answers that combine the power of Google Search with AI's understanding.
When to Activate
- When the user asks questions that require up-to-date web information (e.g., current events, pricing, latest tech).
- When a summary of multiple web sources is needed.
- When the user wants to see the sources (URLs) for an AI-generated answer.
- When comparing information across different AI models (Gemini Pro vs. Flash).
Core Principles & Rules
- Formatting: Defaults to Markdown (
--md) in TTY for readability. - Source Citation: Use
--sourceor--source-detailif the user needs to verify the origins of the info. - Cache Management: Results are cached for 1 hour by default to save tokens; use
--cache-timeto override. - Model Choice: Use
--modelto switch between high-reasoning (Pro) and high-speed (Flash) versions.
Patterns & Examples
Basic Question
# Ask a general question about current facts
x gg "Who won the Euro 2024?"
Source-Detailed Search
# Search for documentation with full source details
x gg --source-detail "Python tutorial for beginners"
Specific Model
# Use the high-reasoning model for complex math or logic
x gg --model gemini-2.5-pro "Latest breakthroughs in quantum computing"
Checklist
- Confirm if real-time web info is required for the query.
- Verify if the user wants source links included in the response.
- Check if a specific model (Pro/Flash) is better suited for the task.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
pufferlib
High-performance reinforcement learning framework optimized for speed and scale. Use when you need fast parallel training, vectorized environments, multi-agent systems, or integration with game environments (Atari, Procgen, NetHack). Achieves 2-10x speedups over standard implementations. For quick prototyping or standard algorithm implementations with extensive documentation, use stable-baselines3 instead.
fluidsim
Framework for computational fluid dynamics simulations using Python. Use when running fluid dynamics simulations including Navier-Stokes equations (2D/3D), shallow water equations, stratified flows, or when analyzing turbulence, vortex dynamics, or geophysical flows. Provides pseudospectral methods with FFT, HPC support, and comprehensive output analysis.
metabolomics-workbench-database
Access NIH Metabolomics Workbench via REST API (4,200+ studies). Query metabolites, RefMet nomenclature, MS/NMR data, m/z searches, study metadata, for metabolomics and biomarker discovery.
geniml
This skill should be used when working with genomic interval data (BED files) for machine learning tasks. Use for training region embeddings (Region2Vec, BEDspace), single-cell ATAC-seq analysis (scEmbed), building consensus peaks (universes), or any ML-based analysis of genomic regions. Applies to BED file collections, scATAC-seq data, chromatin accessibility datasets, and region-based genomic feature learning.
zinc-database
Access ZINC (230M+ purchasable compounds). Search by ZINC ID/SMILES, similarity searches, 3D-ready structures for docking, analog discovery, for virtual screening and drug discovery.
astropy
Comprehensive Python library for astronomy and astrophysics. This skill should be used when working with astronomical data including celestial coordinates, physical units, FITS files, cosmological calculations, time systems, tables, world coordinate systems (WCS), and astronomical data analysis. Use when tasks involve coordinate transformations, unit conversions, FITS file manipulation, cosmological distance calculations, time scale conversions, or astronomical data processing.
Didn't find tool you were looking for?