name: codex-review description: > Runs OpenAI Codex CLI (read-only) to perform tasks using OpenAI/GPT models as a second opinion. Use when the user asks for a "codex review", "second opinion", "cross-model review", or wants an independent analysis from a different AI model family. The main agent provides the task description and working directory in the prompt. user: "run codex review on the uncommitted changes" user: "get a second opinion on this code from codex" user: "ask codex to analyze the architecture of this module"
The following table outlines the detailed functional requirements of The Urlist website.
| Requirement ID | Description | User Story | Expected Behavior/Outcome |
|---|---|---|---|
| FR001 | Creating a New URL List | As a user, I want to be able to start a new, empty list so I can begin adding URLs. | The system should provide a clear way for the user to initiate the creation of a new list, potentially presenting an empty list view or an "add new list" button. |
| FR002 | A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############# Install PSOpenAI and set your API key ############# | |
| Install-Module PSOpenAI | |
| Import-Module PSOpenAI # only when it's first installed | |
| $env:OPENAI_API_KEY = 'sk-xxxxxxxxxxxxxxxxxxxxxx' | |
| ############# Here's some markdown that'd be extracted from a PDF, however you want ############# | |
| $markdown = "# Dog Shot Record | |
| 2309 Kelley Road, Gulfport, MS, 39501 | |
| **CLINIC NAME** | |
| Phone: 123-1234567 - Email: info@petshopname.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #requires -Module Az.Accounts | |
| $verbosePreference = 'continue' | |
| function ConvertFrom-JWTtoken { | |
| <# | |
| .NOTES | |
| Lovingly borrowed from: https://www.michev.info/blog/post/2140/decode-jwt-access-and-id-tokens-via-powershell | |
| #> | |
| [cmdletbinding()] | |
| param([Parameter(Mandatory = $true)][string]$token) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #requires -module Az.Functions | |
| function Write-CmdletError { | |
| param($message, $cmdlet = $PSCmdlet) | |
| $cmdlet.ThrowTerminatingError( | |
| [Management.Automation.ErrorRecord]::new( | |
| $message, | |
| 'CmdletError', | |
| 'InvalidArgument', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #requires -version 7 -module Microsoft.Graph.Applications | |
| using namespace Microsoft.Graph.PowerShell.Models | |
| using namespace System.Collections.Generic | |
| enum MicrosoftGraphServicePrincipalType { | |
| Application | |
| Delegated | |
| } | |
| class MgServicePrincipalPermission { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get Permissions | |
| # MS Graph Permissions | |
| (Get-AzAdServicePrincipal -ApplicationId 00000003-0000-0000-c000-000000000000).AppRole | Select * | |
| (Get-AzAdServicePrincipal -ApplicationId 00000003-0000-0000-c000-000000000000).Oauth2PermissionScope | Select * | |
| # Azure AD Graph | |
| (Get-AzAdServicePrincipal -ApplicationId 00000002-0000-0000-c000-000000000000).AppRole | Select * | |
| (Get-AzAdServicePrincipal -ApplicationId 00000002-0000-0000-c000-000000000000).Oauth2PermissionScope | Select * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using namespace system.collections.generic | |
| function Get-ParamBlock ([String[]]$Name) { | |
| [hashset[string]]$params = $PSCmdlet.MyInvocation.MyCommand.Parameters.Keys | |
| $params.ExceptWith([string[]]([PSCmdlet]::CommonParameters + [PSCmdlet]::OptionalCommonParameters)) | |
| $result = @{} | |
| if ($Name) {$params = $params -in $Name} | |
| foreach ($name in $params) { | |
| $result.$name = $PSCmdlet.GetVariableValue($name) | |
| } | |
| return $result |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using namespace System.Threading.Tasks | |
| using namespace System.Collections.Generic | |
| filter Receive-Task { | |
| #Wait on one or more tasks in a cancellable manner | |
| [CmdletBinding()] | |
| param( | |
| [parameter(Mandatory, ValueFromPipeline)][Task]$Task, | |
| #How long to wait before checking for a cancellation in milliseconds | |
| [int]$WaitInterval = 500 | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #requires -version 7 | |
| #You can load this script with $(iwr https://tinyurl.com/TraceAICommand | iex) | |
| using namespace Microsoft.ApplicationInsights | |
| using namespace Microsoft.ApplicationInsights.Extensibility | |
| using namespace Microsoft.ApplicationInsights.DataContracts | |
| using namespace System.Management.Automation | |
| using namespace System.Collections.Generic | |
| using namespace System.Net | |
| #Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/app/console |
NewerOlder