[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M782147WYTH0XGFNVVDJ9Z5D":3,"skill-same:01M782147WYTH0XGFNVVDJ9Z5D":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M782147WYTH0XGFNVVDJ9Z5D","pm-referralhero",null,"ReferralHero connector knowledge and safe action guide.","polymetrics-ai\u002Fcli","polymetrics-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F177650388?v=4","01M77Z920R1RTP5NXCP1V1HNMS","Polymetrics","01M77Z921DPWZC4DQSSZNWF82B",7,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Fpm-referralhero\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pm-referralhero\ndescription: ReferralHero connector knowledge and safe action guide.\n---\n\n# pm-referralhero\n\n## Purpose\n\nReads ReferralHero lists, subscribers, referrals, rewards, coupon groups, and campaign-scoped subscriber resources, and performs approved ReferralHero API v2 mutations.\n\n## Icon\n\n- id: pm-sample\n- asset: icons\u002Fpm-sample.svg\n- source: polymetrics\n- review_status: polymetrics\n- review_url: https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\n\n## Capabilities\n\n- check=true catalog=true read=true write=true query=false\n- Integration type: api\n\n## Authentication\n\n- Use pm credentials add with --from-env or --value-stdin for secret fields.\n\n## Configuration\n\n- base_url\n- coupon_group_id\n- list_uuid\n- subscriber_email\n- subscriber_id\n- subscriber_mwr\n- subscriber_name\n- api_key (secret) (required)\n\n## ETL Streams\n\n- lists:\n  - primary key: id\n  - fields: created_at(string), id(string), name(string), status(string)\n- subscribers:\n  - primary key: id\n  - cursor: updated_at\n  - fields: email(string), id(string), name(string), referral_code(string), status(string), updated_at(string)\n- referrals:\n  - primary key: id\n  - cursor: created_at\n  - fields: created_at(string), email(string), id(string), status(string), subscriber_id(string)\n- rewards:\n  - primary key: id\n  - cursor: updated_at\n  - fields: id(string), name(string), status(string), updated_at(string)\n- list_leaderboard:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- list_bonuses:\n  - fields: description(string), referrals(integer), title(string)\n- subscribers_search_by_name:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- campaign_subscribers:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_detail:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_by_email:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_by_mwr:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_2_all_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_3_all_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_1_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_2_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_3_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- campaign_rewards:\n  - primary key: id\n  - fields: coupon_code(string), coupon_group(string), created_at(integer), id(string), image_url(string), name(string), recurring_count(integer), referral(string), referrals(integer), referrals_type(string), sent_date(integer), signup_type(string), status(string), subscriber_email(string), subscriber_id(string), total(string), unlocked_date(integer), value(number)\n- subscriber_rewards:\n  - primary key: id\n  - fields: coupon_code(string), coupon_group(string), created_at(integer), id(string), image_url(string), name(string), recurring_count(integer), referral(string), referrals(integer), referrals_type(string), sent_date(integer), signup_type(string), status(string), subscriber_email(string), subscriber_id(string), total(string), unlocked_date(integer), value(number)\n- coupon_groups:\n  - primary key: id\n  - fields: active(boolean), coupons(array), created_at(integer), id(string), name(string)\n- coupon_group_coupons:\n  - primary key: code\n  - fields: available(boolean), code(string), created_at(integer), email_id(string), sent_at(integer)\n\n## Sync Modes\n\n- ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped, incremental_append, incremental_append_deduped\n\n## Reverse ETL Actions\n\n- create_list:\n  - endpoint: POST \u002Flists\n  - required fields: website, name\n  - risk: creates a live ReferralHero campaign\u002Flist in the account; external mutation, approval required\n- add_subscriber:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\n  - required fields: uuid, email\n  - risk: creates or registers a live subscriber in a ReferralHero campaign and may trigger campaign email\u002Freferral workflows; approval required\n- track_referral_conversion_event:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Ftrack_referral_conversion_event\n  - required fields: uuid, email\n  - risk: confirms\u002Funconfirms referral conversion state and may create a referral when a referrer is provided; external mutation, approval required\n- confirm_subscriber_by_id:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Fconfirm\n  - required fields: uuid, subscriber_id\n  - risk: confirms a verified referral\u002Fsubscriber conversion in the campaign; external mutation, approval required\n- confirm_subscriber_by_identifier:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fconfirm\n  - required fields: uuid, email\n  - risk: confirms a verified referral\u002Fsubscriber conversion by unique identifier; external mutation, approval required\n- update_subscriber:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\n  - required fields: uuid, subscriber_id\n  - risk: updates profile, identifier, points, address, or tag fields for a verified subscriber; external mutation, approval required\n- add_points:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fadd_points\n  - required fields: uuid, email, points\n  - risk: adds points to a subscriber, changing contest\u002Freward standings; external mutation, approval required\n- add_transaction:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fadd_transactions\n  - required fields: uuid, email, amount\n  - risk: records a transaction against a subscriber and may affect conversion\u002Freward calculations; external mutation, approval required\n- add_bulk_transactions:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fadd_bulk_transactions\n  - required fields: uuid, transactions\n  - risk: records up to 500 transactions in one call and emails an admin CSV result; high-blast-radius external mutation, approval required\n- promote_subscriber:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Fpromote\n  - required fields: uuid, subscriber_id\n  - risk: promotes a subscriber into the campaign winners\u002Fpromoted state; external mutation, approval required\n- unlock_promoted_reward:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Funlock_promoted_reward\n  - required fields: uuid, subscriber_id\n  - risk: unlocks a promoted reward for a subscriber, changing reward fulfillment state; external mutation, approval required\n- delete_subscriber:\n  - endpoint: DELETE \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\n  - required fields: uuid, subscriber_id\n  - risk: permanently deletes a subscriber from a live campaign; destructive external mutation, approval required\n- update_reward_status:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fupdate_reward_status\n  - required fields: uuid, reward_id, status\n  - risk: changes fulfillment status for an unlocked reward; external mutation, approval required\n- create_coupon_group:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fcoupon_groups\n  - required fields: uuid, name, coupons, active\n  - risk: creates a campaign coupon group and coupon inventory; external mutation, approval required\n- create_coupons:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fcoupons\n  - required fields: uuid, coupon_group_id, coupons\n  - risk: adds redeemable coupon codes to an existing campaign coupon group; external mutation, approval required\n- unqualify_referral:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Funqualify\n  - required fields: uuid, subscriber_id\n  - risk: marks a referral\u002Fsubscriber as unqualified, changing campaign qualification and reward state; external mutation, approval required\n- qualify_referral:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Fqualify\n  - required fields: uuid, subscriber_id\n  - risk: marks a referral\u002Fsubscriber as qualified, changing campaign qualification and reward state; external mutation, approval required\n\n## Security\n\n- read risk: external ReferralHero API read of referral program list, subscriber, referral, reward, and coupon data\n- write risk: creates and mutates live ReferralHero campaign, subscriber, transaction, reward, coupon, and qualification state; approval required before execution\n- approval: reverse ETL plan approval required before writes\n- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.\n\n## Commands\n\n### Inspect as a manual\n\n```bash\npm connectors inspect referralhero\n```\n\n### Inspect as structured JSON\n\n```bash\npm connectors inspect referralhero --json\n```\n\n## Agent Rules\n\n- Run pm connectors inspect referralhero before creating credentials or plans.\n- Use --json only when the caller needs structured output; use the manual for human-readable guidance.\n- Never ask the user to paste secret values into chat.\n- For reverse ETL writes, create a plan, show the preview, wait for explicit approval, then run with the approval token.\n","# pm-referralhero\n\n## Purpose\n\nReads ReferralHero lists, subscribers, referrals, rewards, coupon groups, and campaign-scoped subscriber resources, and performs approved ReferralHero API v2 mutations.\n\n## Icon\n\n- id: pm-sample\n- asset: icons\u002Fpm-sample.svg\n- source: polymetrics\n- review_status: polymetrics\n- review_url: https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\n\n## Capabilities\n\n- check=true catalog=true read=true write=true query=false\n- Integration type: api\n\n## Authentication\n\n- Use pm credentials add with --from-env or --value-stdin for secret fields.\n\n## Configuration\n\n- base_url\n- coupon_group_id\n- list_uuid\n- subscriber_email\n- subscriber_id\n- subscriber_mwr\n- subscriber_name\n- api_key (secret) (required)\n\n## ETL Streams\n\n- lists:\n  - primary key: id\n  - fields: created_at(string), id(string), name(string), status(string)\n- subscribers:\n  - primary key: id\n  - cursor: updated_at\n  - fields: email(string), id(string), name(string), referral_code(string), status(string), updated_at(string)\n- referrals:\n  - primary key: id\n  - cursor: created_at\n  - fields: created_at(string), email(string), id(string), status(string), subscriber_id(string)\n- rewards:\n  - primary key: id\n  - cursor: updated_at\n  - fields: id(string), name(string), status(string), updated_at(string)\n- list_leaderboard:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- list_bonuses:\n  - fields: description(string), referrals(integer), title(string)\n- subscribers_search_by_name:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- campaign_subscribers:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_detail:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_by_email:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_by_mwr:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_2_all_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_3_all_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_1_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_2_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- subscriber_level_3_referrals:\n  - primary key: id\n  - fields: code(string), created_at(integer), crypto_wallet_address(string), device(string), email(string), extra_field(string), extra_field_2(string), extra_field_3(string), extra_field_4(string), host(string), id(string), last_updated_at(integer), level_2_confirmed_referrals(integer), level_3_confirmed_referrals(integer), name(string), option_field(string), other_identifier_value(string), pending_referrals(integer), people_referred(integer), phone_number(string), points(integer), position(integer), promoted(boolean), promoted_at(integer), referral_link(string), referral_status(string), referral_status_at(integer), referred(boolean), referred_by(object), response(string), risk_level(integer), source(string), stripe_customer_id(string), tags(array), unconfirmed_referrals(integer), universal_link(string), verified(boolean), verified_at(integer), visitors(integer)\n- campaign_rewards:\n  - primary key: id\n  - fields: coupon_code(string), coupon_group(string), created_at(integer), id(string), image_url(string), name(string), recurring_count(integer), referral(string), referrals(integer), referrals_type(string), sent_date(integer), signup_type(string), status(string), subscriber_email(string), subscriber_id(string), total(string), unlocked_date(integer), value(number)\n- subscriber_rewards:\n  - primary key: id\n  - fields: coupon_code(string), coupon_group(string), created_at(integer), id(string), image_url(string), name(string), recurring_count(integer), referral(string), referrals(integer), referrals_type(string), sent_date(integer), signup_type(string), status(string), subscriber_email(string), subscriber_id(string), total(string), unlocked_date(integer), value(number)\n- coupon_groups:\n  - primary key: id\n  - fields: active(boolean), coupons(array), created_at(integer), id(string), name(string)\n- coupon_group_coupons:\n  - primary key: code\n  - fields: available(boolean), code(string), created_at(integer), email_id(string), sent_at(integer)\n\n## Sync Modes\n\n- ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped, incremental_append, incremental_append_deduped\n\n## Reverse ETL Actions\n\n- create_list:\n  - endpoint: POST \u002Flists\n  - required fields: website, name\n  - risk: creates a live ReferralHero campaign\u002Flist in the account; external mutation, approval required\n- add_subscriber:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\n  - required fields: uuid, email\n  - risk: creates or registers a live subscriber in a ReferralHero campaign and may trigger campaign email\u002Freferral workflows; approval required\n- track_referral_conversion_event:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Ftrack_referral_conversion_event\n  - required fields: uuid, email\n  - risk: confirms\u002Funconfirms referral conversion state and may create a referral when a referrer is provided; external mutation, approval required\n- confirm_subscriber_by_id:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Fconfirm\n  - required fields: uuid, subscriber_id\n  - risk: confirms a verified referral\u002Fsubscriber conversion in the campaign; external mutation, approval required\n- confirm_subscriber_by_identifier:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fconfirm\n  - required fields: uuid, email\n  - risk: confirms a verified referral\u002Fsubscriber conversion by unique identifier; external mutation, approval required\n- update_subscriber:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\n  - required fields: uuid, subscriber_id\n  - risk: updates profile, identifier, points, address, or tag fields for a verified subscriber; external mutation, approval required\n- add_points:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fadd_points\n  - required fields: uuid, email, points\n  - risk: adds points to a subscriber, changing contest\u002Freward standings; external mutation, approval required\n- add_transaction:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fadd_transactions\n  - required fields: uuid, email, amount\n  - risk: records a transaction against a subscriber and may affect conversion\u002Freward calculations; external mutation, approval required\n- add_bulk_transactions:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fadd_bulk_transactions\n  - required fields: uuid, transactions\n  - risk: records up to 500 transactions in one call and emails an admin CSV result; high-blast-radius external mutation, approval required\n- promote_subscriber:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Fpromote\n  - required fields: uuid, subscriber_id\n  - risk: promotes a subscriber into the campaign winners\u002Fpromoted state; external mutation, approval required\n- unlock_promoted_reward:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Funlock_promoted_reward\n  - required fields: uuid, subscriber_id\n  - risk: unlocks a promoted reward for a subscriber, changing reward fulfillment state; external mutation, approval required\n- delete_subscriber:\n  - endpoint: DELETE \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\n  - required fields: uuid, subscriber_id\n  - risk: permanently deletes a subscriber from a live campaign; destructive external mutation, approval required\n- update_reward_status:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002Fupdate_reward_status\n  - required fields: uuid, reward_id, status\n  - risk: changes fulfillment status for an unlocked reward; external mutation, approval required\n- create_coupon_group:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fcoupon_groups\n  - required fields: uuid, name, coupons, active\n  - risk: creates a campaign coupon group and coupon inventory; external mutation, approval required\n- create_coupons:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fcoupons\n  - required fields: uuid, coupon_group_id, coupons\n  - risk: adds redeemable coupon codes to an existing campaign coupon group; external mutation, approval required\n- unqualify_referral:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Funqualify\n  - required fields: uuid, subscriber_id\n  - risk: marks a referral\u002Fsubscriber as unqualified, changing campaign qualification and reward state; external mutation, approval required\n- qualify_referral:\n  - endpoint: POST \u002Flists\u002F{{ record.uuid }}\u002Fsubscribers\u002F{{ record.subscriber_id }}\u002Fqualify\n  - required fields: uuid, subscriber_id\n  - risk: marks a referral\u002Fsubscriber as qualified, changing campaign qualification and reward state; external mutation, approval required\n\n## Security\n\n- read risk: external ReferralHero API read of referral program list, subscriber, referral, reward, and coupon data\n- write risk: creates and mutates live ReferralHero campaign, subscriber, transaction, reward, coupon, and qualification state; approval required before execution\n- approval: reverse ETL plan approval required before writes\n- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.\n\n## Commands\n\n### Inspect as a manual\n\n```bash\npm connectors inspect referralhero\n```\n\n### Inspect as structured JSON\n\n```bash\npm connectors inspect referralhero --json\n```\n\n## Agent Rules\n\n- Run pm connectors inspect referralhero before creating credentials or plans.\n- Use --json only when the caller needs structured output; use the manual for human-readable guidance.\n- Never ask the user to paste secret values into chat.\n- For reverse ETL writes, create a plan, show the preview, wait for explicit approval, then run with the approval token.\n",{"name":5,"description":7},"main","813f457a925f7ee3fe3bea101a43e445992c8552","docs\u002Fskills\u002Fpm-referralhero",0,"https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli","https:\u002F\u002Fcli.polymetrics.ai","https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai","Local-first data infrastructure for agents and developers.","2026-09-21 12:42:03",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add polymetrics-ai\u002Fcli --skill pm-referralhero",{"tool":39,"command":40},"bunx","bunx skills add polymetrics-ai\u002Fcli --skill pm-referralhero",{"tool":42,"command":43},"pnpm","pnpm dlx skills add polymetrics-ai\u002Fcli --skill pm-referralhero","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Fpm-referralhero\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M782EH9BFHYZVECKJ31F427S","recipe-preview-approve-reverse-etl","Preview and approve a reverse ETL plan safely.","https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Frecipe-preview-approve-reverse-etl\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M782EFGH5NRZ2CXDK0V9YWFW","recipe-github-prs-to-warehouse","Sync GitHub pull requests into the local warehouse.","https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Frecipe-github-prs-to-warehouse\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M782ECJZRQAK8E86CE7R2YM2","pm-zoom","Zoom connector knowledge and safe action guide.","https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Fpm-zoom\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M782EASYDANMV35W2ZHG2QD0","pm-zonka-feedback","Zonka Feedback connector knowledge and safe action guide.","https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Fpm-zonka-feedback\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M782E8WA94A906385AET1ZWH","pm-zoho-invoice","Zoho Invoice connector knowledge and safe action guide.","https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Fpm-zoho-invoice\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M782E73M7F23B6VBGM72QMMQ","pm-zoho-inventory","Zoho Inventory connector knowledge and safe action guide.","https:\u002F\u002Fgithub.com\u002Fpolymetrics-ai\u002Fcli\u002Fblob\u002Fmain\u002Fdocs\u002Fskills\u002Fpm-zoho-inventory\u002FSKILL.md",[],[]]