diff --git a/plugins/arguments/entity_remote_id.inc b/plugins/arguments/entity_remote_id.inc
new file mode 100644
index 0000000..5d8107f
--- /dev/null
+++ b/plugins/arguments/entity_remote_id.inc
@@ -0,0 +1,94 @@
+<?php
+/**
+ * @file
+ * Plugin to provide an argument handler for all entity remote ids.
+ */
+
+$plugin = array(
+  'title' => t("Entity: Remote ID"),
+  'description' => t('Creates an entity context from a remote ID argument.'),
+  'context' => 'ctools_argument_entity_remote_id_context',
+  'get child' => 'ctools_argument_entity_remote_id_get_child',
+  'get children' => 'ctools_argument_entity_remote_id_get_children',
+  'default' => array(
+    'entity_remote_id' => '',
+  ),
+  'placeholder form' => 'ctools_argument_entity_remote_id_ctools_argument_placeholder',
+);
+
+function ctools_argument_entity_remote_id_get_child($plugin, $parent, $child) {
+  $plugins = ctools_argument_entity_remote_id_get_children($plugin, $parent);
+  return $plugins[$parent . ':' . $child];
+}
+
+function ctools_argument_entity_remote_id_get_children($original_plugin, $parent) {
+  $plugins = array();
+  foreach (remote_entity_get_remote_entity_types() as $entity_type => $entity) {
+    $plugin = $original_plugin;
+    $plugin['title'] = t('@entity: Remote ID', array('@entity' => $entity['label']));
+    $plugin['keyword'] = $entity_type;
+    $plugin['description'] = t('Creates @entity context from an remote ID argument.', array('@entity' => $entity_type));
+    $plugin['name'] = $parent . ':' . $entity_type;
+    $plugin_id = $parent . ':' . $entity_type;
+    drupal_alter('ctools_entity_remote_context', $plugin, $entity, $plugin_id);
+    $plugins[$plugin_id] = $plugin;
+  }
+  drupal_alter('ctools_entity_remote_contexts', $plugins);
+
+  return $plugins;
+}
+
+/**
+ * Discover if this argument gives us the entity we crave.
+ */
+function ctools_argument_entity_remote_id_context($arg = NULL, $conf = NULL, $empty = FALSE) {
+  $entity_type = explode(':', $conf['name']);
+  $entity_type = $entity_type[1];
+  // If unset it wants a generic, unfilled context.
+  if ($empty) {
+    return ctools_context_create_empty('entity:' . $entity_type);
+  }
+
+  // We can accept either an entity object or a pure id.
+  if (is_object($arg)) {
+    return ctools_context_create('entity:' . $entity_type, $arg);
+  }
+
+  // Trim spaces and other garbage.
+  $arg = trim($arg);
+  $entities = remote_entity_load_remote($entity_type, array($arg));
+  if (empty($entities)) {
+    return FALSE;
+  }
+
+  return ctools_context_create('entity:' . $entity_type, reset($entities));
+}
+
+function ctools_argument_entity_remote_id_settings_form(&$form, &$form_state, $conf) {
+  $plugin = &$form_state['plugin'];
+
+  $form['settings']['entity_remote_id'] = array(
+    '#title' => t('Enter the remote ID of a @entity entity', array('@entity' => $plugin['keyword'])),
+    '#type' => 'textfield',
+    '#maxlength' => 512,
+    '#weight' => -10,
+    '#default_value' => isset($conf['entity_remote_id']) ? $conf['entity_remote_id'] : '',
+  );
+
+  $form['settings']['entity_type'] = array(
+    '#type' => 'value',
+    '#value' => $plugin['keyword'],
+  );
+
+  return $form;
+}
+
+function ctools_argument_entity_remote_id_ctools_argument_placeholder($conf) {
+  $conf = array(
+    '#title' => t('Enter remote ID of a @entity entity', array('@entity' => $conf['keyword'])),
+    '#type' => 'textfield',
+    '#maxlength' => 512,
+    '#weight' => -10,
+  );
+  return $conf;
+}
diff --git a/remote_entity.module b/remote_entity.module
index 5e2650c..2650431 100644
--- a/remote_entity.module
+++ b/remote_entity.module
@@ -482,3 +482,12 @@ function remote_entity_views_api() {
     'path' => drupal_get_path('module', 'remote_entity') . '/includes/views',
   );
 }
+
+/**
+ * Implements hook_ctools_plugin_directory().
+ */
+function remote_entity_ctools_plugin_directory($module, $plugin) {
+  if ($module == 'ctools') {
+    return 'plugins/' . $plugin;
+  }
+}
\ No newline at end of file
