Skip to main content

WP-CLI حوالو

Gratis AI Agent حڪمي لڪير مان ايجنٽ جي benchmark ڪرڻ، صلاحيتون سنڀالڻ، ۽ ايجنٽ جي حالت پڇڻ لاءِ wp gratis-ai-agent حڪمن جو خاندان مهيا ڪري ٿو. سڀني حڪمن لاءِ WP-CLI 2.0 يا ان کان مٿي گهربل آهي.

انسٽاليشن

WP-CLI حڪم plugin فعال هئڻ وقت پاڻمرادو رجسٽر ٿين ٿا. هن سان تصديق ڪريو:

wp gratis-ai-agent --info

wp gratis-ai-agent benchmark

Agent Capabilities benchmark مجموعو هلائي ٿو — پيچيده، گهڻن مرحلن وارن prompts جو هڪ سيٽ، جيڪي مڪمل صلاحيتن جي سطح کي آزمائين ٿا. هن کي ماڊل جي ڪارڪردگي جانچڻ، AI فراهم ڪندڙن جو مقابلو ڪرڻ، يا production ڏانهن لاڳو ڪرڻ کان اڳ صلاحيت پيڪن جي تصديق ڪرڻ لاءِ استعمال ڪريو.

خلاصو

wp gratis-ai-agent benchmark [--question=<id>] [--provider=<provider>] [--model=<model>] [--output=<format>] [--save]

اختيار

OptionDescription
--question=<id>مڪمل مجموعي بدران ID ذريعي هڪ واحد benchmark سوال هلائي ٿو
--provider=<provider>هن هلائڻ لاءِ ترتيب ڏنل AI فراهم ڪندڙ کي بدلائي ٿو (مثلاً anthropic, openai)
--model=<model>هن هلائڻ لاءِ ترتيب ڏنل ماڊل کي بدلائي ٿو (مثلاً claude-opus-4-6, gpt-4o)
--output=<format>نڪتل صورت: table (default), json, csv
--saveتاريخي مقابلي لاءِ benchmark نتيجا database ۾ محفوظ ڪري ٿو

مثال

موجوده فراهم ڪندڙ ۽ ماڊل سان مڪمل benchmark مجموعو هلائو:

wp gratis-ai-agent benchmark

هڪ واحد سوال (q-restaurant-website) هلائو ۽ JSON طور output ڏيو:

wp gratis-ai-agent benchmark --question=q-restaurant-website --output=json

هڪ مخصوص ماڊل خلاف هلائو ۽ نتيجا محفوظ ڪريو:

wp gratis-ai-agent benchmark --model=claude-opus-4-6 --save

نڪتل نتيجو

benchmark هر سوال لاءِ هيٺين ڪالمن سان هڪ قطار output ڪري ٿو:

ColumnDescription
IDسوال جو سڃاڻپڪار
Descriptionbenchmark منظرنامي جو مختصر خلاصو
Scoreپاس/فيل يا عددي اسڪور (0–100)
Abilities Usedسڏايل صلاحيتن جي ڪاما سان الڳ ڪيل فهرست
Tokensاستعمال ٿيل ڪل tokens
Durationسيڪنڊن ۾ wall-clock وقت
ID                       Description                         Score  Abilities Used               Tokens  Duration
q-portfolio-site Create a portfolio CPT with tags 100 register_post_type, reg... 4821 18.3s
q-restaurant-website Build a full restaurant website 92 create_site_plan, execut... 12430 54.1s
q-dark-mode-theme Apply a dark theme preset 100 apply_theme_json_preset 986 4.2s
...

Benchmark سوال

default مجموعي ۾ شامل آهي:

IDScenario
q-portfolio-siteProject Category taxonomy سان Portfolio CPT ٺاهيو ۽ block pattern رجسٽر ڪريو
q-restaurant-websitemenu CPT، booking form، ۽ navigation سان مڪمل restaurant website ٺاهيو
q-dark-mode-themedark-mode design preset لاڳو ڪريو ۽ brand colours داخل ڪريو
q-nav-buildernested dropdown سان چار-آئٽم primary navigation menu ٺاهيو
q-options-roundtripWordPress اختيارن جو هڪ سيٽ پڙهو، تبديل ڪريو، ۽ بحال ڪريو
q-ability-installبيان ڪيل استعمال جي حالت لاءِ سڀ کان مناسب صلاحيت پيڪ ڳوليو ۽ install ڪريو

اضافي سوال gratis_ai_agent_benchmark_questions filter ذريعي رجسٽر ڪري سگهجن ٿا.


wp gratis-ai-agent abilities

انسٽال ٿيل صلاحيتن ۽ صلاحيت پيڪن کي سنڀالي ٿو.

wp gratis-ai-agent abilities list

سڀ رجسٽر ٿيل صلاحيتون، انهن جو ذريعو (core يا pack)، ۽ انهن جي موجوده حالت ڏيکاري ٿو.

wp gratis-ai-agent abilities list [--format=<format>]

اختيار

OptionDescription
--format=<format>نڪتل صورت: table (default), json, csv

مثالي نڪتل نتيجو

Ability                   Source                          Status
register_post_type gratis-ai-agent (core) active
list_post_types gratis-ai-agent (core) active
delete_post_type gratis-ai-agent (core) active
register_taxonomy gratis-ai-agent (core) active
inject_custom_css gratis-ai-agent (core) active
apply_theme_json_preset gratis-ai-agent (core) active
create_product gratis-ai-agent-woocommerce active

wp gratis-ai-agent abilities install

registry مان هڪ صلاحيت پيڪ download ڪري فعال ڪري ٿو.

wp gratis-ai-agent abilities install <slug>

دليل

ArgumentDescription
<slug>صلاحيت پيڪ جو plugin slug، مثلاً gratis-ai-agent-woocommerce

مثال

wp gratis-ai-agent abilities install gratis-ai-agent-woocommerce
Success: Installed gratis-ai-agent-woocommerce. Added 3 abilities: create_product, update_pricing, manage_inventory.

wp gratis-ai-agent abilities disable

پيڪ کي هٽائڻ کان سواءِ هڪ مخصوص صلاحيت غيرفعال ڪري ٿو. ڪنهن ڏنل site تي ايجنٽ جي دائري کي محدود ڪرڻ لاءِ مفيد آهي.

wp gratis-ai-agent abilities disable <ability>

مثال

wp gratis-ai-agent abilities disable delete_post_type
Success: Ability 'delete_post_type' disabled.

wp gratis-ai-agent abilities enable

اڳ ۾ غيرفعال ڪيل صلاحيت کي ٻيهر فعال ڪري ٿو.

wp gratis-ai-agent abilities enable <ability>

wp gratis-ai-agent status

موجوده ايجنٽ configuration ۽ connectivity حالت ڏيکاري ٿو.

wp gratis-ai-agent status

مثالي نڪتل نتيجو

Plugin Version:    1.4.0
AI Provider: Anthropic
Model: claude-sonnet-4-6
Provider Status: Connected
Abilities Loaded: 24
Benchmark Results: 3 saved runs (last: 2026-04-15)
Options Blocklist: 18 entries

wp gratis-ai-agent logs

debug log مان تازيون ايجنٽ سرگرميون ڏيکاري ٿو.

wp gratis-ai-agent logs [--last=<n>] [--level=<level>] [--ability=<ability>]

اختيار

اختياروضاحت
--last=<n>آخري N لاگ داخلا ڏيکاريو. ڊفالٽ 50
--level=<level>سطح موجب فلٽر ڪريو: info, warning, error
--ability=<ability>صلاحيت جي نالي موجب فلٽر ڪريو

مثال

wp gratis-ai-agent logs --last=20 --level=error

wp gratis-ai-agent reset

agent جي حالت ري سيٽ ڪري ٿو: داخل ڪيل CSS صاف ڪري ٿو، agent-رجسٽر ڪيل CPTs ۽ taxonomies هٽائي ٿو، عالمي انداز ري سيٽ ڪري ٿو، ۽ agent جي اختيارن جي cache خالي ڪري ٿو. plugin يا ان جون settings نه هٽائيندو.

wp gratis-ai-agent reset [--yes]

تصديق واري prompt کي ڇڏڻ لاءِ --yes شامل ڪريو.

wp gratis-ai-agent reset --yes
Success: Agent state reset. Cleared: 2 post types, 1 taxonomy, custom CSS, global styles overrides.

نڪرڻ جا ڪوڊ

سڀ commands ڪاميابي تي 0 سان exit ڪن ٿا. غير-صفر exit codes:

ڪوڊمطلب
1عام غلطي (غلطي جو پيغام ڏسو)
2Provider connectivity ناڪامي
3صلاحيت نه ملي
4Benchmark سوال نه ملي