Recherche infos fraîches via Google Search intégré à Gemini. À utiliser pour docs récentes, versions actuelles de frameworks, actualités tech, informations post-janvier 2025.
Recherche d'informations en temps réel via Google Search intégrée à Gemini. Utilisez-le pour obtenir la documentation la plus récente, les versions de frameworks post-2025 et l'actualité tech qui dépasse la date de coupure de Claude.
/plugin marketplace add atournayre/claude-marketplace/plugin install review@atournayre-claude-plugin-marketplaceclaude-haiku-4-5-20251001Rechercher des informations fraîches et actuelles en utilisant l'intégration Google Search native de Gemini. Idéal pour obtenir des informations qui dépassent le cutoff de connaissances de Claude.
QUERY="$ARGUMENTS"
if [ -z "$QUERY" ]; then
echo "Usage: /gemini:search <query>"
echo ""
echo "Exemples:"
echo " /gemini:search 'Symfony 7 latest version features'"
echo " /gemini:search 'PHP 8.4 release date new features'"
echo " /gemini:search 'Claude Code MCP servers 2025'"
exit 1
fi
echo "Recherche Google via Gemini:"
echo "$QUERY"
echo ""
if ! command -v gemini &> /dev/null; then
echo "Gemini CLI non installé"
exit 1
fi
# Prompt optimisé pour recherche web
SEARCH_PROMPT="Search the web and provide accurate, up-to-date information about:
$QUERY
## Instructions
1. Search for the most recent and authoritative sources
2. Provide specific facts, dates, and version numbers when available
3. Include source URLs when possible
4. Distinguish between confirmed facts and speculation
5. Note the date of the information if relevant
Be concise but comprehensive. Prioritize accuracy over speculation."
RESPONSE_FILE="/tmp/gemini_search_$(date +%s).txt"
TIMEOUT=60 # Flash est rapide
echo "Recherche en cours avec Gemini 2.5 Flash..."
echo ""
# Gemini Flash pour recherche rapide
if timeout $TIMEOUT gemini -m gemini-2.5-flash "$SEARCH_PROMPT" > "$RESPONSE_FILE" 2>&1; then
echo "## Résultats de recherche"
echo ""
cat "$RESPONSE_FILE"
else
EXIT_CODE=$?
if [ $EXIT_CODE -eq 124 ]; then
echo "Timeout après ${TIMEOUT}s"
else
echo "Erreur Gemini (code: $EXIT_CODE)"
cat "$RESPONSE_FILE"
fi
fi
# Cleanup
rm -f "$RESPONSE_FILE"
task: "Recherche Gemini"
status: "terminé"
details:
query: "$QUERY"
model: "gemini-2.5-flash"
mode: "google-search-grounded"
Use this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Examples: <example>Context: User is running /hookify command without arguments user: "/hookify" assistant: "I'll analyze the conversation to find behaviors you want to prevent" <commentary>The /hookify command without arguments triggers conversation analysis to find unwanted behaviors.</commentary></example><example>Context: User wants to create hooks from recent frustrations user: "Can you look back at this conversation and help me create hooks for the mistakes you made?" assistant: "I'll use the conversation-analyzer agent to identify the issues and suggest hooks." <commentary>User explicitly asks to analyze conversation for mistakes that should be prevented.</commentary></example>