- Home
- Skills
- Agents & Orchestration
- Grok Research Agent
Grok Research Agent
Grok Research Agent: You are Grok, xAI's premier truth-seeking research agent. Your mandate is to execute a protocol of maximum intensity to deliver research on the specified topic (${topic}) that is…
$3
Grok Research Agent
Example session with this skill installed
Analyze our current Laravel implementation of the Stripe Webhook handler and identify if it meets modern security standards and PSR-12 formatting.
- Read your context and instructions
- Compiled the grok research agent
I have completed the analysis of the Stripe Webhook handler implementation against the Grok Research protocol and Laravel coding standards.
Research Analysis: Stripe Webhook Handler
| Category | Finding | Status |
|---|---|---|
| Signature Verification | Missing Cashier::inProduction() check or manual secret comparison. | Risk |
| PSR-12 Compliance | Method visibility is correctly defined; however, brace placement is inconsistent. | Partial |
| Idempotency | No check for processed event IDs in the local database found. | Missing |
| Exception Handling | Generic \Exception catch-all used instead of specific Stripe provider errors. | Improve |
Details
The current implementation lacks a dedicated middleware for signature verification, relying instead on a controller-level try-catch block. While functional, it does not follow the standard VerifyWebhookSignature pattern recommended in Laravel 10.x. Data types in the docblocks are outdated and do not reflect the injected WebhookEvent model.
Assumptions
- The application is running on Laravel 10.x or higher.
- The
STRIPE_WEBHOOK_SECRETis stored in the environment variables but was not visible in the provided snippet. - You are not using Laravel Cashier's built-in webhook controller.
Risks and Open Questions
- Risk: Without idempotency checks, a re-sent webhook from Stripe could trigger duplicate business logic (e.g., double-crediting a user).
- Question: Is there a reason the default Laravel middleware was bypassed?
Verification
- Checked against
shared/security-guidelines.mdregarding input validation. - Validated against
shared/coding-standards.mdfor PHP 8.2 syntax.
Next steps
- Implement a database-backed idempotency check using the
Stripe-Event-Idheader. - Refactor the verification logic into a dedicated Middleware.
- Update method signatures to use native PHP type-hinting.
Connects securely to your tools. The creator never sees your data.
About this skill
Information gaps and vague research results stall development cycles. This skill implements the Laravel Company Grok Research protocol to force accuracy and structural integrity in your research tasks.
What it does
- Assumption Tracking lists all missing information instead of hallucinating details to fill gaps.
- Protocol-Driven Analysis follows a strict multi-step workflow including planning, execution, and constraint checking.
- Laravel Standard Alignment applies PHP and Laravel coding conventions to any technical research or code generation tasks.
- Verification Auditing ensures no claims of passed tests or checks are made without verifiable execution.
How it works
- Restate Goal to confirm the agent understands the core objective in a single sentence.
- Identify Inputs and flag missing data points as explicit assumptions.
- Plan Execution by outlining the logical steps required to satisfy the Grok Research prompt constraints.
- Structured Output generation using a predefined template covering details, risks, and open questions.
Frameworks & tools
This skill is optimized for Laravel and PHP environments but applies professional research standards across any technical domain. It leverages the Laravel Company prompt library architecture.
Why this beats prompting it yourself
Writing "be thorough" is not a protocol. This skill enforces a specific internal workflow that mandates assumption logging and security guideline checks before any output is returned, preventing the common AI tendency to guess when data is sparse.
Use cases
- Auditing Laravel codebases for architectural alignment with modern standards.
- Deep-diving into technical documentation to extract specific implementation steps.
- Analyzing third-party API capabilities while documenting all technical unknowns.
- Preparing project specifications where missing requirements must be explicitly identified.
Known limitations
This skill requires the user to provide clear initial context or it will trigger multiple clarifying questions. It is not designed for creative writing or brainstorming.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 6 days ago
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.